It is a defence to a prosecution for the offence constituted by section 50(d) if the person charged with the offence proves that the authorised officer had not informed that person that he or she was required by this Act to give the information or reply to the question.