In contrast, squatters are also protected by other laws, including the Criminal Law Act 1977, which prevents a home owner forcing their way back in because it makes it an offence to use violence to gain access when there is someone on the premises who is opposed to entry.