(1) Subject to this section, a person required to comply with section 166 who enters Australia at a port must comply:
(a) if paragraph (b) or (c) does not apply--at that port; or
(b) if the person is required by an officer to comply at a particular on - port--at that on - port; or
(c) if the person is allowed by an officer to comply at the port or a particular on - port--at either of them.
(2) Subject to subsection (4), a person required to comply with section 166 who enters Australia otherwise than at a port must comply at a prescribed place within a prescribed period after entering.
(3) If:
(a) a person proposes to enter Australia; and
(b) with the permission of a clearance officer, complies with paragraphs 166(1)(a), (b) and (c) on the vessel on which the person travels to Australia and before entering Australia;
the person is taken to have complied with section 166.
(4) A person who travels to Australia on a pre - cleared flight:
(a) must comply with paragraphs 166(1)(a) and (b) before beginning the flight; and
(b) if he or she so complies, is taken to have complied with section 166.