It's unbelievable that squatting isn't a criminal offense.
I saw someone solving this problem by subsequently leasing the squatted premise to someone else, and then occupying the residence. Because the person wasn't the owner but a renter they had more rights than the landlord. I wonder if this is the right solution for all of these squatters.