(A) If any person shall climb upon, jump off, hold to, or in any manner whatever, attach himself to any locomotive, engine or car while the same is in motion or running into or through the city, he shall be deemed guilty of an offense.
(B) This section shall not apply to any employee of the railroad company, any passenger or any person who may be acting by permission or under the rules of the company then operating the railroad.
('80 Code, § 26-3) Penalty, see § 214-99