From what the article says and what I can determine from nautical charts, the ship was beyond the 3-mile limit, so it was legally outside of Alaska, but within the 12-mile limit, which puts it legally inside the United States.  And this is why the FBI is involved and it's a federal case and not a part of the Alaska judicial system.