Whoever, save as permitted by Section 38, contravenes any provision of this Act or of any regulation, rules or bye-law or of any order made thereunder prohibiting, restricting or regulating the employment or presence of persons in or about a mine shall be punishable with imprisonment for a term which may extend to three months, or with fine which may extend to one thousand rupees, or with both.