Notwithstanding any provision of this code to the contrary, in any circumstance involving an accident or alleged violation of law in which the engineer or any other crew member of any train is detained by any law-enforcement officer, the engineer and all crew members shall not be required to furnish a driver's license issued by the division of motor vehicles: Provided, That the engineer and all crew members shall be required to produce photo identification issued by the railroad employer or any other state or federal authority other than the division of motor vehicles upon request of any law-enforcement officer during the course of investigating an accident or alleged violation of law involving the operation of a train.
W. Va. Code § 17B-2-9a