The driver of the van is at fault here. Looks like he was testing his luck and has a death wish. I mean, he could have stopped before the railroad tracks but he really drove straight and slowed down on the track. Good thing the train was able to brake a bit, if it was going full speed that would have ended badly.