Whenever it shall appear by satisfactory proof that any person is held in illegal imprisonment and that there is good reason to believe that the person will be carried out of the state or suffer some irreparable injury before the person can be relieved by habeas corpus, the judge may issue a warrant, reciting the facts and directed to any sheriff, constable or other person, commanding him or her to take such prisoner and forthwith to bring the prisoner before the judge, to be dealt with according to law.
Wis. Stat. § 782.33