When judgment is recovered in any action on which a vessel was attached, the court may issue an order to the attaching officer to sell it at auction, and to pay the proceeds thereof into court after deducting the expenses of sale and for taking care of the vessel while under attachment. Such officer shall sell it as other personal property is sold on execution. The purchaser shall hold it free from any prior claim.
10 M.R.S. § 3863