(1) Where a company contravenes any of the provisions of sections 26 to 30, 32 and 35, the company and any officer of the company who is in default shall be guilty of an offence.
(2) Subject to section 34, an undertaking given by any person in or in connection with payment for shares in a company to do work or perform services or to do any other thing shall, if it is enforceable by the company apart from this Act, be so enforceable notwithstanding that there has been a contravention in relation thereto of section 26, 29 or 30 and where such an undertaking is given in contravention of section 32 in respect of the allotment of any shares it shall be so enforceable notwithstanding that contravention.