Subject to this section, an authorised officer of a local authority, on producing, if so required, some duly authenticated document showing his authority, has a right to enter any premises at all reasonable hours—
Admission to premises, other than a factory or workplace, shall not be demanded as of right unless 24 hours' notice of the intended entry has been given to the occupier.
Subsections (1) and (2) do not apply in relation to premises used wholly or mainly as a private dwelling.
If it is shown to the satisfaction of a justice of the peace on sworn information in writing that—
the justice may by warrant under his hand authorise the local authority by any authorised officer to enter the premises, if need be by force.
A warrant shall not be issued under subsection (3) above unless the justice is satisfied that—