In this case, it was a low-speed incident and the trucker was at fault. If the car didn't have the option to move backwards or avoid the incident without damage or injury, staying put is the best option. I don't see a problem here. Unless of course the truck was out of control and would've crushed the car.
There should be an emergency exit option on cars like this though.
There should be an emergency exit option on cars like this though.