A person who is convicted of an offence under section 37B or section 37C is liable to a penalty not exceeding 50 penalty units or to imprisonment for a term not exceeding 3 years.