The Court observed that the embargo on transfers could be seen as opportunism on the part of municipalities at the crucial stage when property has been sold and requires registration of transfer to the new owner. The Court noted that if the embargo were truly an enforcement mechanism to prevent unlawful use of land or buildings, it would apply equally to leases, but it does not. This reveals the arbitrary nature of the enforcement mechanism. The Court commented that the notion that the by-laws protect future buyers from acquiring land with legal impediments does not fall within the mandate of municipal planning, as such matters are governed by the law of contract between seller and purchaser. The Court also rejected the suggestion that the by-laws were a revenue-raising measure for municipalities, stating that if that were the real purpose, it would be an improper purpose. The Court emphasized that even though the by-laws deal on their face with municipal planning, the specific impugned provisions restrict transfer and registration of ownership and thus stray beyond that functional area.