based on the image, the train did not derail, the bridge de-trained!
The rails were impressively bent to conform to the new shape of the bridge.
Ever try to bend a rail in the vertical direction?