He explains that the task of the social services is only to help people in need, not to fight crime.

- The Social Services Act stipulates a right to get help from the municipality when you are having a hard time.

It really does not matter how you feel otherwise, if you may be living illegally.

Olle Lundin, professor of administrative law at Uppsala University, even believes that the municipality's actions are illegal.

- Police and prosecutors could look at this.

It is very strange that no one pulls the emergency brake and says stop, he says.

"Legislators must step in"

The lawyer Rebecca Sundström, who herself worked at the social administration in Uppsala, is also critical.

She has examined the working method from a legal perspective.

- There is no support in either legislation or practice.

You can not make decisions that do not have any kind of support in the legal system, she says.

At least ten of the households in Uppsala that have been rejected on the basis of the stricter requirements have appealed to the administrative court.

After that, the municipality, after losing in the first instance, pursued cases to the Court of Appeal - with varying outcomes.

- A municipality must apply legislation, not try new legislation.

Here the legislator must go in and review what should apply.

We can not have such an unclear legal situation, says Martin Hansson, lawyer at the Tenants' Association.

Hear more about the lawyers' criticism in the clip.

The municipality: We act legally

Mohamad Hassan (L), chairman of the labor market committee in Uppsala, believes - despite the criticism - that the municipality's path that has been chosen is the right way forward.

- We are prepared to court the Riksdag to change the legislation - that they clearly say that we must accept all types of contracts or that we must fight crime.

The National Board of Housing, Building and Planning believes that the municipality of Uppsala is doing the right thing by refusing assistance.

According to Micael Nilsson, the agency's expert on social housing issues, it is necessary to curb the black housing market.

However, the authority thinks that the legal situation is unclear.

- If you want to deal with black contracts, the law should be rewritten.

It is actually completely unreasonable for the social services to support this illegal trade in apartments, says Micael Nilsson.

Javascript is disabled

Javascript must be turned on to play video

Read more about browser support

The browser is not supported

SVT does not support playback in your browser.

We therefore recommend that you switch to a different browser.

Read more about browser support

The National Board of Housing, Building and Planning: No one could imagine this Photo: Adam Ihse / TT / Press image