No, Sweden did not ban all offshore wind projects last year.
https://www.defensenews.com/global/europe/2024/11/11/why-swe...
It's not comparable at all. US defence agencies have had thorough involvement in the permitting process of these US developments.