Trains take a long time to stop, so if a driver sees an obstacle — say, the back of a truck — in the tracks, there’s not much they can do about it. Unless you’re this quick-thinking Polish train driver, whose timely warning saved his passengers from near-certain injury.

As the BBC reports, the train was traveling at 68 mph when the driver saw a lorry stuck in a crossing. With the three seconds he had available, there was no way he was going to stop. Top Gear has previously demonstrated in graphic detail how far it takes a passenger train to perform an emergency stop, so it’s fair to say this lorry had no chance.

DON’T MISS: Watch a Tesla Model X in Ludicrous Mode go head to head with a McLaren 650S supercar

What the driver did manage to do, however, was run down the train, getting all the passengers away from the window (and getting himself out of the soon-to-be-crumpled driver’s carriage. His quick thinking meant that none of the passengers suffered any serious injury.

Chris Mills has loved tinkering with technology ever since he worked out how to defeat the parental controls on his parents' internet. He's blogged his way through Apple events and SpaceX launches ever since, and still keeps a bizarre fondness for the Palm Pre.