Repair of a contact network at a railway junction, a locomotive with a raised repair platform stay on the rails