Stephen,
Derailments were and are an everyday occurance on the railroad. The derailment probably won't do any damage to the locomotive, but sometimes the re-railing process can. Sometimes if the brake rigging is fouling the rails, and they can't get re-railing frogs in place, they may have to take a torch to the brake rigging. From the pictures, it looks like merely pulling it back the way it came, it should walk right back on with just some wooden blocking.
Keith