At any time before the judgment is passed, the High Court or the Court of Sessions trying the case may, with the view of obtaining on the trial the evidence of any person supposed to have been directly or indirectly concerned in, or privy to, any such offence, tender, or order the District Magistrate to tender, a pardon on the same condition to ...