There was the tragic case on the Cambs/Essex border a few years ago of 2 young teenage girls killed crossing the tracks, despite the crossing warning lights being on red.
They were hurrying to catch a train already at the platform about to leave for Cambridge. Sadly, they were killed by a Stansted bound train.
The parents blamed Network Rail, because the gates were not' locked' to prevent them crossing. I believe legal discussion regarding this case is still on going....