necessary for the purpose of the prevention, detection, investigation or proof of an offence; or
required or authorised in terms of the law or in terms of a court order;
he or she acted in the reasonable belief that he or she was legally entitled to obtain or disclose the account number or, as the case may be, to procure the disclosure of the account number to the other person;
he or she acted in the reasonable belief that he or she would have had the consent of the responsible party if the responsible party had known of the obtaining, disclosing or procuring and the circumstances of it; or
in the particular circumstances the obtaining, disclosing or procuring was in the public interest.
A person who sells an account number which he or she has obtained in contravention of subsection (1), is guilty of an offence.