We forget that 'the United Nations' used to be the name of a war-winning alliance. Sweden's hugging of the UN was always partly a security strategy.
Since Sweden joined overt military alliances, the use of humanitarianism in Swedish state policy diminishes significantly.
RE: https://bsky.app/profile/did:plc:hmtynq24viq5yycureab7inc/post/3n32lgs6q7k2l
And regarding refugees, part of Sweden's strategy to build up postwar political capital with the USA, despite sitting out WW2, was to go *hard* into the UN: human rights and humanitarianism. It was a soft power strategy that NATO members Norway and Denmark didn't need to entertain in that fashion.
(yes I'm talking about the European Union)