(2)If any loan is advanced or a guarantee or security is given or provided in contravention of the provisions of sub-section (1), the company shall be punishable with fine which shall not be less than five lakh rupees but which may extend to twenty-five lakh rupees, and the director or the other person towhom any loan is advanced or guarantee or security is given or provided in connection with any loan taken by him or the other person, shall be punishable with imprisonment which may extend to six months or with fine which shall not be less than five lakh rupees but which may extend to twenty-five lakh rupees, or with both.