The prosecutions, brought by Northern Rail and TransPennine Express, were declared ‘null and void’ during a hearing at Westminster Magistrates’ Court.