As far as the railway company is concerned they have the accused and have served notice of that.
The accused has said "Not me"
Justifiably the railway company have said "Thank you. Prove it by supplying identification, such as your passport, please", which is a reasonable and common request.
The accused has refused to do this, and therefore could be considered as being unreasonable.
The railway company therefore have no option but to continue to Court action.
What has happened here is not unusual and is a situation I know has happened in other (non-railway) cases. At Court the Magistrates have not been best pleased that a case could have been "solved" by some simple actions of the accused, therefore the burden of proof is greater and the accused has to provide even greater evidence, even to the calling of employers as witnesses, which can be highly embarassing and expensive.
As for the accused getting expenses, forget it. If the Court think that they were wasting the Court's time by not acting in a reasonable manner then costs could be awarded against them. That can be very expensive!
As said earlier, more people should attend the public galleries at Court to see what really happens. They might be quite shocked as how wrong they are sometimes