In all cases where the plaintiff may recover judgment for damages caused by the trespassing of animals of another, the judgment shall be a lien upon the stock so trespassing, and the plaintiff may have special execution for the sale of such stock to satisfy the judgment and costs or general execution as he may elect.
R.L. 1910, § 174.