Section 3(4)(b) in The Code of Criminal Procedure, 1973
(b)which are administrative or executive in nature, such as, the granting of a licence, the suspension or cancellation of a licence, sanctioning prosecution or withdrawing from a prosecution, they shall, subject as aforesaid, be exercisable by an Executive Magistrate.