Worldwide, quite a few major train stations have multi-tracks “dead ending” into the single large station. A little more common in the US is parallel tracks going by the small station. Madrid, for example, hs dozens of tracks all stopping (literally) within the building cover and enclosure tself.
So, a speed-addict engineer could take a train into Madrid at 120 - 200 mph .... and never get derailed until it hit the building amidst dozens of other loaded and empty passenger cars.
Was the Madrid event on a curve, or the straight away into a building?