When judgment is rendered in favor of the defendant in the action of replevin, and the goods or chattels are returned, the same may be sold and the proceeds applied by the officer who took them in execution as if they had not been replevied.
12 V.S.A. § 5334