(1) Subject to subsection (3), a police officer shall, before any person enters premises under a warrant, for the purpose of executing an order mentioned in section 192 (1) or to arrest a person—
(a) announce that he or she is authorised to enter the premises; and
(b) give any person at the premises an opportunity to allow entry to the premises.
(2) A police officer is not required to comply with subsection (1) if he or she believes on reasonable grounds that immediate entry to the premises is required to ensure—
(a) the safety of a person (including a police officer); or
(b) that the effective execution of the warrant, order or arrest is not frustrated.
(3) This section does not apply to an entry made under section 190.