The following action shall be taken by the building official when ordering the repair or demolition of an unsafe building or structure: (1) The building shall be ordered repaired in accordance with the Standard Building Code or demolished at the option of the owner. (2) If the building or structure poses and immediate hazard to life or to the safety of the public, it shall be ordered vacated immediately.