Whenever the municipal officers in the case of a municipality, or the county commissioners in the case of the unorganized or deorganized areas in their county, find that a building or structure or any portion thereof or any wharf, pier, pilings or any portion thereof that is or was located on or extending from land within the boundaries of the municipality or the unorganized or deorganized area, as measured from low water mark, is structurally unsafe; unstable; unsanitary; constitutes a fire hazard; is unsuitable or improper for the use or occupancy to which it is put; constitutes a hazard to health or safety because of inadequate maintenance, dilapidation, obsolescence or abandonment; or is otherwise dangerous to life or property, they may after notice and hearing on this matter adjudge the same to be a nuisance or dangerous and may make and record an order prescribing what disposal must be made of that building or structure. [1997, c. 6, §1 (AMD).]