A South Korean court declared Hanjin Shipping bankrupt on Friday.