If, in relation to a building or a part of a building, a territorial authority has put up a hoarding or fence or attached a notice under subsection (1)(b) or (c), no person may, other than in accordance with the terms of a notice issued under subsection (1)(c),—
(a)
use or occupy the building or part; or
(b)
permit another person to use or occupy the building or part.