How can the US administration send me, a citizen of Sweden, to jail?

Sweden is dependent on the American nuclear umbrella. Until that changes, the US will have a lot of leverage on Sweden.

I mean they did manage to make Swedish authorities go after Pirate Bay.

I mean, it's not like they have done it all over the place already...