Building Bylaw Breach
Take a look at Burnaby (City of) v. Hayre, 2008 BCCA 412 for an example of a breach of a building bylaw and the subsequent municipal action to rectify the offending breach.
The Court of Appeal decision fixes a rather odd error made by the lower Court, that is, that the bylaw breach had to occur by way of a specific building type as opposed to a mere non-permitted structure. Constructing any structure without a permit ought to have been enough to find a breach and that is exactly what the Court of Appeal did.
Make sure that your permits are in order before you proceed building something.