Section 237(1) in The Code of Criminal Procedure, 1973
(1)A Court of Session taking cognizance of an offence under sub-section (2) of Section 199 shall try the case in accordance with the procedure for the trial of warrant-cases instituted otherwise than on a police report before a Court of Magistrate :Provided that the person against whom the offence is alleged to have been committed shall, unless the Court of Session, for reasons to be recorded, otherwise directs, be examined as a witness for the prosecution.