The Mayor will lose in court.
If we actually lived under a Rule-of-Law these days, I would expect such ordinances would be immediately struck down, and sponsoring officials would be promptly removed from office.
But I have no confidence that the courts will protect us.