Section 337(2) in The Code of Criminal Procedure, 1989 (1933 A. D.)
(2)Every person accepting a tender under this section shall be examined as a witness in the Court of the Magistrate taking cognizance of the offence and in the subsequent trial, if any.(2-a) In every case where a person has accepted a tender of pardon and has been examined under sub-section (2), the Magistrate before whom the proceedings are pending shall, if he is satisfied that there are reasonable grounds for believing that the accused is guilty of an offence, commit him for trial to the Court of Session or High Court, as the case may be.[(2-b) In every case where the offence is punishable under section 161 or section 165 or section 165-A of the Ranbir Penal Code, 1989 (XII of 1989) or sub-section (2) of section 5 of the Prevention of Corruption Act, 2006 (XIII of 2006), and where a person has accepted a tender of pardon and has been examined under sub-section (2) then notwithstanding anything contained in sub-section (2-a) the Magistrate shall, without making any further inquiry, send the case for trial to the Court of the Special Judge appointed under the Criminal Law Amendment Act, 1958.] [Sub-section (2-b) inserted by Act III of 1958.]