As long as there are grade crossings on commuter routes, and less-than-fully-competent rubber-wheeler pilots driveng across them, there will be grade crossing accidents and attendant delays.
The, 'Shoot from the hip,' knee-jerk reaction is to demand elimination of all grade crossings. Anyone have a few quadrillion dollars laying around?
Or we could demand that all rubber wheeler pilots meet aircraft pilot standards. Problem is, planes crash, too.
Or we could do what was done in Japan half a century or so ago. Under the law, anyone inconvenienced by a grade crossing accident could sue the responsible party for damages. That includes that train's passengers, the passengers waiting for that train at stations between it and its destination, passengers on other trains delayed by the crash and investigation...
Now there is a real incentive to avoid being part of a grade crossing collision.