If any person, with a view to the recovery of damages against a railroad company, willfully ride, drive, or lead any animal, or otherwise contrive for any animal to go, on the railroad track of such company, and such animal is by reason thereof killed or injured, he shall be guilty of a Class 3 misdemeanor.
Va. Code § 18.2-158