Proceedings where commitment irregular.

AS 12.75.120, under Habeas Corpus..

AS 12.75.120

If it appears by the testimony offered with the return, or upon the hearing that the party is probably guilty of a criminal offense, the court, although the commitment is irregular, shall immediately remand the party to the custody of the proper person.