How can you blame railways for this, the persons who are travelling has to know that railtracks are meant for trains and not van and motor vehicle(The driver took a turn from the main road to the temple and tried to cross the track). Its not mentioned there was a railway crossing.