CN's fleet of switchers and GMD-1s were notorious for derailments on tight switches and bad track. Locomotives always had a few of these handy. By hooking the re-railer onto the rail, the train crew could drive the locomotive back onto the track! No TSB investigation required!