First of all, this is unworkable.
Municipalities are totally under the control of the province. It would, IMHO, be unconstitutional for the feds to displace the province in setting legal parameters for a city.
To say nothing of using the Criminal Code to enforce municipal legislation. Just...