First time I have ever heard of a rail line on a bridge bein ‘protection for the structure’ and never having been used.
A search on “ships crashing into bridges” brings up some 35 where the bridge has actually collapsed. Most of the early results from the search were focused on Baltimore - so I didn’t take the time to dig further.
It’s a common tale, it’s true.