(a) If, during the trial, it shall appear that the offense was committed out of the jurisdiction of the court, but within the jurisdiction of some other court of this state, the court shall stop the trial, discharge the jury, and take the proceedings in the case as directed in § 16-85-708.
(b) If it appears the offense was committed out of the state, the trial shall be stopped as in subsection (a) of this section and the defendant either discharged or ordered to be retained in custody for a reasonable time until the counsel for the state shall have an opportunity to inform the chief executive officer of the state in which the offense was committed of the facts and for that officer to require the delivery of the offender.