railway loophole