A railway official told the Thai media that they found a drunk driver behind the wheel of a Toyota Hilux that had got stuck on the railway line in northern Bangkok.
Pornthep Srima, 29, was immobile – but furious – behind the wheel.
He blamed Google Maps and his GPS for directing him along the line between Lak Si and Bang Khen stations near the North Park estate.
Police recorded an alcohol level of 142 mg, nearly three times the legal limit and charged him with DUI at Thung Song Hong police station.
The railway official said it was 3 am and lucky for him that there were no trains running.
Delays were still caused as it took five hours to get the vehicle off the track.
Apart from DUI the driver could also face charges for damaging railway property.