When a person accused of contempt is produced by virtue of a warrant of attachment, or appears upon the return of such a warrant or of an order to show cause, the court shall proceed pursuant to subsection 1 of section 27-10-01.3.
N.D.C.C. § 27-10-13