Squatting is not a particularly difficult problem to solve. It simply requires police and prosecutors to enforce existing laws.
There is little evidence of legislative action in many cities. However, Democrats in Congress have moved to pass a federal housing law − to bar landlords from learning whether potential tenants have criminal records, which would include past squatter offenses.
The common nuisance of squatting reflects a breakdown in basic deterrence of our laws. Property offenses have been steadily downgraded as priorities in many cities, while prosecutions are viewed as politically risky for officials who do not want to be viewed as targeting people who are homeless.
I feel like if the landlord is a corporation, they shouldn't be able to discriminate. But if the landlord owns less that five properties, they should be able to be more selective as the risk is much higher.