Korean shipping line Hanjin Shipping Co Ltd won an order on Tuesday from a U.S. judge extending bankruptcy protections.