Part of me says that when something is in territorial waters that it should be "finders keepers", but, for military reasons I can see why the US would offer some support to Spain in the case a few years ago.
I.e. if a US ship goes down with nukes, the US will want it back, no matter where it is.