Railroad crossings throughout California require substantial maintenance to ensure that they remain safe for the general public.
That means:
Working flashers and arms that prevent people from crossing the road while a train is present
Secure rails
Clear visibility that will allow drivers or pedestrians to see an oncoming train
Failure to properly maintain those areas can pose a substantial danger to everyone in the area. An overgrown area, or one where either the flashing lights or the protective arm do not work, can cause substantial danger to drivers and pedestrians, who may lack the ability to see a train coming.