82. When an immovable is in a seriously unsanitary condition or has so deteriorated as to become uninhabitable or unrepairable and constitutes a danger to the health or safety of persons, a judge of the Superior Court sitting in the district where the immovable is situated may, upon motion by the municipality presented even during the suit and heard by preference order the immovable vacated, prohibit entry to it, order it demolished or require the owner or occupant to take the steps required to have it made sanitary within the time he determines and order that on failure to do so within the prescribed time, the applicant may himself take the required steps at the expense of the owner and occupant.
The last two paragraphs of section 81 apply with the necessary modifications.
1972, c. 49, s. 82; 1999, c. 40, s. 239.