Despite anything else in this Part, the powers of an inspector under this Part in relation to entering a place are not exercisable in respect of any part of a place that is used only for residential purposes except—
(a) with the consent of the occupier for the time being of the place; or
(b) under the authority conferred by a search warrant.