"a person referred to in subsection who contravenes or fails to comply with any of the provisions of this section shall be guilty of an offence and on conviction be liable to a fine or imprisonment not exceeding years imprisonment or both such fine and imprisonment"