Section 240(5) in The Gujarat Municipalities Act, 1963
(5)Nothing contained in sub-section (1) shall render any person liable to any punishment provided in that sub-section, if in the opinion of the Court, the offence was committed without his knowledge or he exercised all due diligence to prevent the commission of such offence.