Someone had squatters after working 3 months outside the country. He basically had zero rights to throw them out, and the law considered him as a sort of landlord for non-paying tenants, with all relevant responsibilities. As his and their legal address where now identical, he was partially responsible/paying for their healthcare.
But the law allowed him, as a good landlord, to work on the outside of the house, for the good of his tenants. So he did.
He installed security cameras, and reported every minor infraction of the squatters to the police. The police loved it, and duly did everything. Oh look, a cm of your wheel is parked outside the allowed boundary. That's a ticket. Of course he duly tested the very loud alarm every evening, to make sure it works.
He did a paint job, first removing the old paint with the noisiest dustiest old tools he could find, then painting it in an old ugly pink he found on a flea market somewhere. Then decided the quality wasn't good and removed the paint again. One day, the squatters had enough and actually went to a court to demand he let their poor baby sleep. Judge just laughed, and told them all work happened before 22:00 so he was in his right.
Squatters ran away after a few months, which supposedly is a happy outcome, at least compared to what the law could do for him.