I owned a house in England. I lived in it and noved out to find work, putting it on the rental market. Squatters moved in and we had no rights to kick them out as deemed a civil matter not criminal. The utility companies: water, telephone, gas & electric to squatters; were happy to provide services, the local police, council warned us not to break in and physically throw them out - which we should have done and taken the consequences. The risk was the damage the could do while there. The key was passed around or sold at pubs and became a known squat with ever transient population. Our fear was it would catch fire ( we discovered later they burned candles direct on to wooden surfaces as they didn't pay the electricity bill) or they'd cut the roof joists which would be beyond economic repair. How can they break in and get all the support of law & services and the owner and payer of local taxes be left hanging?
This is crap unless you have a lease. You should have no rights. I remember when I lived with my Grandma. The neighbor lady moved out and they found some squatters in her house. At some point the city came in kicked him out and then boarded up the hole that they made. To get in and out of
Have the homeowner write up a lease for a renter. Then they can use that to push out the unlawful squatter. They have a signed lease, the squatter doesn't. Out!