Court ruling could block China from key US military port in Africa