In general immigration enforcement institutions are about as ghoulish as banks so there's no reason to give them the benefit of the doubt, especially these days, but also as the article notes Sweden is very heavy-handed here. See:
According to the most recent European Commission annual report on implementation of the WA, almost 4,000 applicants for post-Brexit residency status in Sweden were refused, out of 14,200 made.
By contrast, Bulgaria, which has a similar number of applicants at around 16,000, refused just five people, and Belgium, which had 13,000 applicants, refused 605, according to the same report.
According to FCDO analysis, Sweden’s refusal rate of 27.5% is three times higher than any other member state and considerably higher than the EU average of between 3% and 4%
Deporting as many people as possible seems to be a deliberate policy choice—not surprising considering who's running the show over there, but it does mean there's no reason to think this woman was shown any flexibility.