Ruling threatens US power as world’s high-seas drug police