Yeah. I hate to be that guy, but this girl at least got the chance to stay on a temporary visa. Oh so many times have children her age been sent back to Iraq, Iran, Libanon, Syria, eastern Europe etc from Sweden when immigration found out they/their family aint got legit papers to stay. As would I assume it's the same in any country in the world.
Personally I don't think it's fair to throw her out. Neither is what her parents did fair to her. She's more or less innocent and shouldn't take the heat for it. Hopefully this will turn out fine for her in the end.