40. Notwithstanding anything contained in section 32 of the Code of Criminal Procedure, 1898, it shall be lawful for any Magistrate of the first class to pass any sentence authorised by this Act even if such sentence exceeds his powers under section 32 of that Code.