For context: the aforementioned crash in Japan was not on a high-speed / Shinkansen line but a normal commuter train. Both the 2013 accident in Spain and the recent one were high speed trains.
I’m not sure these are comparable, high-speed rail needs much tighter tolerances as the risk is orders of magnitude higher. As the parent comment stated there have been zero major crashes on the japanese shinkansen lines.
The second train crashed on a non-high speed part of the network.
There is also no reason to treat speed limits on high speed and normal trains differently. There are plenty of speed related crashes on low speed lines. If anything the stakes are even higher on commuter trains because they tend to carry more people, many of which will be standing, and are more likely to crash into another structure as was the case in the Japanese incident mentioned.