I just wanted to mention a thought that I had. People on sites like this don't realize it but user communities like this one are really important in the feedback loop - the process of getting manufacturers to build safe equipment everywhere. If it wasn't for the voices of people saying "look at this horrible design" when one is found, and peer pressure, even across international and language borders, the situation would get totally out of control.
This thing with train crossings, there is a good chance that this is an occult cause of a fair number of fatal accidents, and it needs to be told, because the people who experienced it may not have gotten or get to tell the story because they are dead.
Very strong magnetic fields may exist wherever roads cross energized tracks- The smaller electric trains or trolleys usually have the power in overhead wires, they are farther away so likely not a major problem, but sometimes they go below and then they may be, I dont know, it seems quite plausible to me.
In the pre-MP3 era, I used to ride electric trains (The Bay Area's 'BART', SF's Muni Metro) wearing various Walkman style tape players - a lot - and often heard a whine in my headphones from the magnetic fields in the environment.
A strong magnetic field combined with bad design (especially grounding and intercommects between different parts of an e-vehicle) might cause an error in a microcontroller severe enough to make them reboot on a train crossing.