Failure of rail link plea 'to cost millions'