I'm not an expert on railways, Level Crossings, the relevant law, relevant Human factors etc. so I am going to pass on most of that, except to suggest that maybe, just maybe, implementing the changes that are in the pipeline and those suggested by the RAIB would be at least a start.
If...