And that's why the EU every truck needs to be legally fitted with a Tachometer that measures every parameter of a vehicle, and a truck driver cannot legally drive for more than 8 hours (I think they can do 9 hours once per week, and they need a 24h break at least once per week as well) - after that, they need at least 8 hour break, when the vehicle cannot move. If the truck is stopped by the police,and they find that the driver has been driving over the time limit in the past 3 months, they will issue a massive, multi-thousand euro fine, so it's extremely rare for drivers to work overtime.
I knew a driver who drove for loading at a company, and because it was taking them too long, his time for a break started before they finished. He refused to move the truck from the spot for a whole 8 hours,even though it was blocking the warehouse - he knew that if he moved it even a little bit, he(and the company he worked for) could be fined several thousand euros months down the line.
Actually I'm from EU country(-ie, actually), and it works... inconsistently. There's fraud, and there's shifting the blame on drivers while trying pressuring them to take the risks anyway (works especially 'well' in countries where many truck drivers are self-employed, like, say, Poland).
And then you get a Polish bus driver with a bus full of people going for a pilgrimage through Swiss Alps, which then fills the news for a week in two countries.
It's way better than nothing, though, and the deficiencies are something that should be fixed even within existing law (e.g. the "self-employment" could really easily be proved to be actually a normal job, if the prosecution cared enough).
I knew a driver who drove for loading at a company, and because it was taking them too long, his time for a break started before they finished. He refused to move the truck from the spot for a whole 8 hours,even though it was blocking the warehouse - he knew that if he moved it even a little bit, he(and the company he worked for) could be fined several thousand euros months down the line.