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.
In practice, failures in system development, like unemployment in Russia, happens a lot despite official propaganda to the contrary. -- Paul Licker