The supreme court, subject to such regulations and conditions as it may prescribe, always must be open for the issuance and return of all writs and process which it may lawfully issue and for the hearing and determination of the same. Any judge of said court may order the issuance of any such writ or process and prescribe the time and manner of service and the time and place of return of the same. In cases of habeas corpus, the judge of the supreme court who issues or causes the writ to issue may direct that the writ must be made returnable and must be heard and determined, either before the supreme court or any judge thereof, or before any district court of this state, or any judge of any district court of this state. Any district court or any judge thereof before whom any writ is made returnable as prescribed in this section is authorized to carry into complete execution all of its judgments, decrees, and determinations, subject to appeal as provided by law.
27-02-17. Issues of fact in original proceedings in supreme court may be sent to district court for trial. If an issue of fact is joined, or an assessment of damages by a jury is necessary, in any action or proceeding commenced in the supreme court, the court, in its discretion, may send the same to some district court, and it there must be determined in the same manner as other issues of fact are tried or other assessments are made, and a return thereof must be made as directed by the supreme court. In such cases, the supreme court may order a special verdict to be found and returned.