Those cranes elevate train cars and coaches, not containers. The railway gauge in Hungary is 1435mm while in Ukraine it's 1520mm. They lift the cars and swap the axles.