The court based its decision on the limits of its jurisdiction, saying it had no authority to resolve territorial disputes.