I'm not sure where you came across this - but in Sweden it's a judge which rules on an extradition based on the extradition treaty between the US & Sweden.
There's precedent in the Swedish court system which has previously denied extradition on espionage charges.
https://foreignpolicy.com/2014/08/18/would-sweden-ever-extra...