The court's decision late Thursday advances a U.S. aim to block any influence by China over the strategic waterway and immediately drew a sharp rebuke from Beijing.