The person alleged to have the party under illegal confinement or restraint make return to a warrant issued pursuant to § 135.58 as in case of a writ of habeas corpus, and the same may be denied, and like allegations, proofs, an trial may thereupon be had as upon a return to a writ of habeas corpus. NOTE: Section 135.64 is substantively the same as former § 1500. See also Cal. Pen. Code § 1500 (same).