Seems the judge thinks he is a Social Justice Warrior with the power to enforce his rulings and make housing policy for municipalities. .
The city should tell him to pound sand, kick rocks, and just go fuck himself for this overreach.
This is not the purview of a judge, nor is it his right to do so as a judge. He is supposed to adjudicate the law, not be a Social Justice ruler.
Acts like this should lead to a judge being disbarred.
Judges abuse their power for a simple reason. BECAUSE THEY CAN. And as long as they suffer no consequences for doing so they will continue their abusive misconduct.