Maybe if all cargo ships carried an American flag to hoist up when approached might just do the trick.