Section 306(5)(a) in The Code of Criminal Procedure, 1973
(a)commit it for trial -(i)to the Court of Session if the offence is triable exclusively by that Court or if the Magistrate taking cognizance is the Chief Judicial Magistrate;(ii)to a Court of Special Judge appointed under the Criminal Law Amendment Act, 1952 (46 of 1952), if the offence is triable exclusively by that Court;