Nope, not luck, it's a skill. Herzog is a company that does rail-line repairs. They use Rubber-tire backhoes (which is what that machine in the above video is, not an excavator), on top of railroad cars. The climb up and down from them, no ramps.