(1)If any structure is deemed by the Municipality to be in ruinous state and dangerous to the passers-by or to the occupiers of neighbouring structures, the Municipality may by notice require the owner or the occupier to fence off, take down, secure or repair such structure to prevent any danger therefrom within such period as may be specified in the notice.