On request of the defendant and consent of the prosecuting attorney in the demanding state and the prosecuting attorney in the asylum state, the trial court of general jurisdiction or such other court having appropriate jurisdiction in the asylum state may dispose of the offense or offenses set out in the complaint, indictment or information or other equivalent pleading of the demanding state, and an exemplified copy of the judgment of the asylum state shall constitute a judgment on the merits when filed in the case in the courts of the demanding state.
Okla. Stat. tit. 22, § 1145.4