Bharatiya Nagarik Suraksha Sanhita, 2023
Section 321
Execution of commissions
Upon receipt of the commission, the Chief Judicial Magistrate or such Magistrate as he may appoint in this behalf, shall summon the witness before him or proceed to the place where the witness is, and shall take down his evidence in the same manner, and may for this purpose exercise the same powers, as in trials of warrant-cases under this Sanhita.
Why this exists
This provision, from Section 286 of the old CrPC, ensures that even though a witness's evidence is being taken away from the main trial court through a commission, it's still recorded with the same procedural rigor, formality, and legal authority that would apply in a normal courtroom examination.