legal protection against squatters