When a vessel attached for liens and also in the ordinary manner is sold by order of the court and the proceeds are more than sufficient to satisfy the lien judgments, the surplus shall be paid to the officer to be held upon the writs of attachment not founded on the lien claims.
10 M.R.S. § 3868