27. Any Magistrate of the first class or any bench of Magistrates invested with the powers of a Magistrate of the first class empowered for the time being to try in a summary way the offences specified in sub-section (1) of section 260 of the Code of Criminal Procedure, 1898, may, on application in this behalf being made by the prosecution, try in accordance with the provisions contained in sections 262 to 265 of that Code, any offence punishable under section 21.