That's a kind of ad-hominem attack on a law. Just because the hotel lobbyists might favor it doesn't mean it's not a good or fair law. The fact of the matter is that these sorts of provisions are supported not just by hotel lobbyists,[1] but property owners generally. Short-term renters reduce property value in neighborhoods, and property owners love measures to ban such rentals.
[1] Invoking the specter of "hotel lobbyists" is intensely amusing to me. If hotels had such good lobbyists, cities wouldn't have almost universally exorbitant (over 14% in NYC) hospitality taxes, which quite negatively affect the hotel industry.
People throw around the word "unjust" too easily. There are plenty of laws I don't like (e.g. drug laws, sentencing generally), but I believe that in a democratic society people have the right to regulate individual behavior that has collateral effects. There are only a few laws I consider "unjust" either because society has very little real interest in regulating the behavior (e.g. bans on homosexual marriage), or because the results are wholly out of proportion with any legitimate interest (e.g. three strikes laws).
I dislike most housing-related regulations, but it's very difficult for me to find "injustice" in the commercial regulations voters (who are mostly property owners) impose upon themselves.
The issue with taking the stance that the voters imposed it on themselves is that voters, particularly of a specific city, are a group that is constantly cycling in and out members. I'm only recently of voting age; any regulation that was imposed more than 8 years ago, I had zero say in, let alone the knowledge and experience to have an informed opinion about it.
Beyond that, its hard to say the margins by which such a law passed. If a law passes by 51%, is it still difficult to find 'injustice' (This coming from a person in a state that passed a state constitutional ban against gay marriage by a similar margin)
[1] Invoking the specter of "hotel lobbyists" is intensely amusing to me. If hotels had such good lobbyists, cities wouldn't have almost universally exorbitant (over 14% in NYC) hospitality taxes, which quite negatively affect the hotel industry.