Tracks 3, 4 and 7 at the station in question are not adjacent to a platform. It sort of makes sense to route a train over these if there is no stop planned there (intentional or not).
Here's the map of the station:
Here's the map of the station:
This is basic management, it's basic competence.
The train was misrouted because nobody cared about routing it properly: the driver, the conductor, the signallers, the routers, the management. Something weird happened and everyone shrugged and started to hum "Que sera, sera" to themselves, rather than committing to doing a job in the passengers' interests.