If the Court to whom the application is made is satisfied of the truth of the facts stated, and that the examination of the witness is necessary to the attainment of justice, an order must be made that a commission be issued to take his testimony; and the Court may insert in the order a direction that the trial be stayed for a specified time, reasonably sufficient for the execution and return of the commission.
Ca. Pen. Code § 1354