No person arrested upon a warrant under section 2963.07 of the Revised Code shall be delivered to the agent whom the executive authority demanding him appointed to receive him unless such person is first taken forthwith before a judge of a court of record in this state, who shall inform him of the demand made for his surrender and of the crime with which he is charged, and that he has the right to demand and procure legal counsel. If the prisoner or his counsel desires to test the legality of his arrest, the judge shall fix a reasonable time to be allowed him within which to apply for a writ of habeas corpus. When such writ is applied for, notice thereof and of the time and place of hearing thereon, shall be given to the prosecuting officer of the county in which the arrest is made and in which the accused is in custody, and to the said agent of the demanding state.
Whoever violates this section by willfully delivering a person arrested upon the governor's warrant to an agent for extradition of the demanding state before a hearing, shall be fined not more than one thousand dollars or imprisoned not more than six months, or both.
R.C. §2963.09