56. If the owner or occupant of an immovable is convicted of an offence against a sanitation by-law, a judge, in addition to imposing any other penalty, may order the offender to abate the unsanitary condition within the time the judge prescribes or to have the necessary work carried out to prevent its recurrence. If the person fails to comply within the prescribed time, the unsanitary condition may be abated by the municipality at the expense of that person.
Prior notice of the application for an order must be given by the prosecutor to the person, who could be compelled, under such an order, to abate the unsanitary condition, except if the parties are in the presence of the judge.