Where an authority considers that any building within its authority area is of an unsatisfactory standard and—
(a) can be raised or restored at a reasonable cost to a satisfactory standard, the authority may apply to a housing court for a repair order; or
(b) cannot be raised or restored at a reasonable cost to a satisfactory standard, the authority may apply to a housing court for—
(i) a demolition order; or
(ii) if the authority considers that the building should not be the subject of a demolition order, a closure order.