In fact, the crash at the origin of this whol debacle was caused by a train being stopped on the tracks and being rear-ended by another.
Stopping a train anywhere should therefore always be safe, so the safety failing is with the train behind, not the one in front.