19.1. A by-law adopted under section 18 prevails over a municipal by-law to the same effect.
The by-laws adopted under subparagraphs a, c, d, h and i of the first paragraph of section 18 may vary according to the regions or localities and classes of persons to which they apply.