I like to think before he died Enmu was someone working on inventing trains and working out railroads and such. I feel like he chose to take over a train and he has a conductor like outfit because he used to be one. And since hes obviously a demon and the trains came after him i think he could have been around when they were being created around the world.