This happens when the drivers are not paying attention and force the railroad crossing.
This driver from Italy was stuck between the 2 barriers. The car, a Fiat Doblo, stayed with the rear quite close to the train tracks.
Realizing the danger the driver tried to signal the locomotive driver to stop. But it did not stop and touched a little car that turned.
Fortunately there was nothing serious and the car can be repaired.