Getting on or off moving train

KRS § 277.250, under RAILROADS -- ORGANIZATION AND OPERATING REGULATIONS.

KRS § 277.250

No person, except a passenger or an employee in the usual and necessary discharge of his duties, shall get on or off, or swing or ride on, or hang from the outside of, any engine, train or car while it is in motion or switching, or immediately preceding its moving or switching.