The commissioner may apply to district court for a warrant authorizing seizure and impoundment of all drilling machines or hoists owned or used by a person. The court shall issue an impoundment order upon the commissioner's showing that a person is constructing, repairing, or sealing wells or borings or installing pumps or pumping equipment or excavating holes for installing elevator shafts without a license or registration as required under this chapter. A sheriff on receipt of the warrant must seize and impound all drilling machines and hoists owned or used by the person. A person from whom equipment is seized under this subdivision may file an action in district court for the purpose of establishing that the equipment was wrongfully seized.
The equipment must remain in the custody of the sheriff until the equipment is released under the order of a court or until the commissioner orders the sheriff to release the equipment.