“Appropriate court,” as used in the agreement on detainers, with reference to the courts of this state, means a court of record with criminal jurisdiction.