Any person shall forfeit and pay into the State Treasury the sum of $100 for each mile of fence on either side of a railroad, or for each farm crossing, gate or cattle guard which the person fails, neglects or refuses to erect and maintain in violation of ORS 608.310 (Erecting and maintaining fences, crossings, gates and cattle guards). This shall be recovered as other penalties are recovered and paid into the State Treasury.