It did, and the US considered the outcome so concerning that they requested to lease the submarine (but not install a crew - Swedish sailors would operate it in the US navy). Since those were different times, with only mild insanity among US presidents, Sweden granted the request.
In 2004, the Swedish government received a request from the United States to lease HSwMS Gotland – Swedish-flagged, commanded and crewed, for one year for use in antisubmarine warfare exercises. The Swedish government granted this request in October 2004, with both navies signing a memorandum of understanding on 21 March 2005.[5][6] The lease was extended for another 12 months in 2006.[7][8][9] In July 2007, HSwMS Gotland departed San Diego for Sweden.[10]
It did, and the US considered the outcome so concerning that they requested to lease the submarine (but not install a crew - Swedish sailors would operate it in the US navy). Since those were different times, with only mild insanity among US presidents, Sweden granted the request.
Wikipedia tells us: