(A) No person shall climb, jump, step or stand upon or cling or attach himself or herself to a locomotive, engine or car upon the track of a railroad, unless in compliance with law or by permission under the rules and regulations of the corporation managing such railroad.
(R.C. § 4999.02)
(B) Whoever violates this section is guilty of a minor misdemeanor.