On Wednesday night, all Deutsche Bahn trains were stopped – because a switch was being replaced, the company now says.