(3)The Chief Judicial Magistrate or Judicial Magistrate of the first class to whom the commission is issued, or, if he is the Chief Judicial Magistrate, he or such Judicial Magistrate of the first class as he appoints in this behalf, shall summon the witness before him and shall take down his evidence in the same manner, and may for this purpose exercise the same powers, as in the trials of warrant-cases under the Code of Criminal Procedure, 1973 (2 of 1974).