(2)But a person does not commit an offence by reason of a failure to comply with a requirement under section 145(1) (to produce a licence or other authority for the carrying on of a relevant activity) if the person complies with section 145(2) (production of licence or other authority at a place and within a period specified by the marine enforcement officer).