29. In penal matters, a municipal court has jurisdiction to dispose of penal proceedings for the prosecution of an offence under any provision of(1) the charter of the municipality or a municipal by-law, resolution or order;
(2) the Act governing the municipality.
In his judgment, the judge may order any measure conducive to the enforcement of a municipal by-law, resolution or order, except the demolition of an immovable.