At night, red lights flickered and alarm bells sounded at the crossing.