If the court shall find the right to said goods and chattels, or any part thereof, to be in the claimant, the court shall also find the value thereof, and shall render judgment for the claimant, that he recover his costs against the plaintiff in execution, or other party to the same for whose benefit the execution issued, and also that he have restitution of said goods and chattels, or any part thereof. But if the right of the goods and chattels, and every part thereof, shall not be in the claimant, then the court shall render judgment on such finding, in favor of the plaintiff in execution, or other party for whose benefit the same was issued and levied, against the claimant for costs, and award execution thereon. Such judgment for the claimant, unless an undertaking shall be executed as provided in section 25-1523, shall be a justification of the officer in returning no goods to the writ of execution by virtue of which the levy has been made, as to such part of the goods and chattels as were found to belong to such claimant.
Neb. Rev. Stat. §§ 25-1522