Train rerouting