The decline began in 2006, much before all those “stupid immigrants” could have ruined the system. Immediately jumping to your gut feel hypothesis definitely doesn’t make you a “scientist”.
The Yugoslav Wars, the Kosovo War and the Second Chechen War were all in 1990s. Many ethnic Bosnians and Kosovarians relocated to Nordic countries during that time.