The European Court of Human Rights found that Sweden had violated the rights of a gay man with HIV by keeping him in isolation for about seven years (1994-2001) through the issue every six months of a renewal of an isolation order under Sweden's Infectious Diseases Act.
Sweden is often held up as being a model of a democratic European country with a moral conscience. However, it is the country that continued to use its 1934 law to forcibly sterilize people, who were disabled mentally or physically, until 1976. Many seemingly 'civilised' countries based parts of their legislation on eugenics in the 1930s - it was not just Nazi Germany - but Sweden continued with these policies right up until the mid-1970s.
So I am not particularly surprised by this latest example of that nation's 'liberality'.