404. (1) The court may, by the judgment, quash such by-law, in whole or in part, order the notification of such judgment at the office of the council interested, and cause the same to be published either in the manner prescribed for the publication of orders of the council, or in one or more newspapers.
(2) Every by-law or part of by-law so quashed shall cease to be in force from the date of the judgment.