(2)If any employer contravenes the provisions of this Act or the rules made thereunder, he shall, if no other penalty is elsewhere provided by or under this Act for such contravention, be punishable with imprisonment which may extend to one year, or with fine which may extend to five thousand rupees, or with both:Provided that where the contravention is of any provision regarding maternity benefit or regarding payment of any other amount and such maternity benefit or amount has not already been recovered, the court shall, in addition, recover such maternity benefit or amount as if it were a fine and pay the same to the person entitled thereto.