Source needed.
By basic civic laws, I mean things like not allowing open air drug markets in downtown:
Very recent video
https://v.redd.it/x87v0nws5anb1
FFS, if you have an open air drug market, it doesn't really matter if there are public restrooms. This is one major reason why BART boarded up their restrooms in downtown SF.