A person who—
(a) ordinarily resides outside Australia; and
(b) holds a permit issued under the law of another State or a Territory of a kind specified in the regulations—
does not commit an offence against section 6 or 7 while acting under and in accordance with the permit.