Sweden didn’t have much choice re joining WW2 on the Allied side. The Germans were ready to invade in force and Sweden didn’t have much of an Army, etc.
Sweden did play both sides just as Switzerland did but geographically, Sweden had a better geographical and military disadvantage re the Germans than did the Swiss.
I had friends who were either turned back at the Swiss border and denied asylum, or were accepted and “interned” as a way to keep them alive.
They also were complicit in running the German war machines wheels, the ball bearings industry in Schweinfurt. We lost a hundred planes in one raid on these Swedish enterprises.
Sweden didnt have much of an army? Neither did the Poles, but that didnt stop them from sending horse cavalry against the German supply trains in 1939.