Every person who is intoxicated while in charge as engineer of a locomotive engine or while acting as a conductor or driver upon any railroad train or car is guilty of a class A misdemeanor.