Just block both sides of the level crossing why don't you.