Next to the tracks, a man climbed onto the train, then the train beeped and a head poked out.