If the pest may be exterminated or controlled by treatment or processing which is prescribed by the commissioner, and if the commissioner determines that the nature of the pest is such that no damage can be caused to agriculture through such treatment, processing, or procedure incidental thereto, the shipment may be treated or processed, under the supervision of, and in a manner and within a time satisfactory to, the commissioner. The treatment or processing shall be at the expense of the owner or bailee of the shipment. If the shipment is so treated or processed, it may be released to the consignee.