The court in the Hague , which is the top legal body of the United Nations , ruled Wednesday it has no jurisdiction in the case .