Prime Minister Fredrik Reinfeldt called the agreement historic.
"This gives us a long-term basis for a humane and orderly migration policy in accordance with the rule of law," he said at a press briefing on Thursday morning, according to news agency TT.
This is primarily a victory for the three smaller parties in the governing centre-right coalition,together with the Greens, while the Moderate Party (liberal conservative) has been forced to give up their previous stance of policy. This is also a way for the minority government to refuse the Sweden Democrats (anti-immigrant) influence of migration policies, and at the same time give the Social Democrats a swipe.
Traditionally, it has been the Moderates and the Social Democrats who have formed a majority about issues relating to Swedish asylum and refugee policy, while other parties have formed a joint opposition.
This time, the dominating Moderates can give something to there smaller coalition partners and at the same time both isolate the Sweden Democrats and and show that the Green Party is as good a partner for major policy agreements as the Social Democrats.
At the press conference, the outline of the framework agreement at times was unclear, and there was many references to future reports by government commissions, but what was mentioned was that the deal includes for illegal immigrants to be given the right to health care, schooling, and to run businesses.
There shall also be better possibilities of identification, for example with DNA, at family reunification. An independent Migration Research Institute is also in the pipe-line.
“We have made some changes in our position on the right to health care and education for people without permissions, and regarding to certain issues of family reunification,” Reinfeldt said.
The agreement stated that this change "has important implications for public finances", with costs of up to SEK 1.7 billion. But the figure is uncertain. For example, it is not known how many children of illegal immigrants who will start in kindergarten, primary or secondary school or how many people will seek medical and dental care.
It has been speculated that there are 3000 to 4000 children among the illegal immigrants in Sweden. A study on health care for illegal immigrants should be ready in May. Then there will be a proposal on which rules will apply.
“A step in a very wrong direction"
The reactions on the agreement from the other parties is mixed.
The leader of the Sweden Democrats, Jimmie Åkesson, is deeply critical, he believes the agreement will open up for free immigration.
“It's a step in a very wrong direction. It sends a clear signal that they want to make extreme immigration policies even more extreme,” he tells newspaper Svenska Dagbladet.
Åkesson do not believe that illegal immigrants should have access to health care and schools.
"What is the purpose of seeking residence permits if you receive all the benefits when you live here illegally?"
The Social Democrats are critical of the idea that illegal immigrants should be allowed to start a business in Sweden.
“This partly leads to the legalization of undocumented migrants. And it can lead to problems, and human exploitation. And wage dumping," says the party migration policy spokesperson Fredrik Lundh Sammeli.
The leader of the Left Party, Lars Ohly, whose party never was invited to the negotiations, is disappointed with the Greens who he believes has not been able to changed the government's policies enough.
“The Greens now legitimize a policy that we in the opposition coalition before the last election said was inhumane and not in accordance with the rule of law. This agreement is worse in every aspect.”