Actually, it's not required by Swedish law. There would be many free speech issues with such regulation. However, the companies realize that it's in their best interest not to ignore the wishes of the people they want to do business with, so they are generally respected. Some companies who deliver the flyers independently chose to ignore this, most notably real estate agents, pizza places with home delivery and political parties.
Not delivering mail (junk or not) addressed to you would be illegal, though.
"What a wonder is USENET; such wholesale production of conjecture from such a trifling investment in fact." -- Carl S. Gutekunst