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.
The F-15 Eagle: If it's up, we'll shoot it down. If it's down, we'll blow it up. -- A McDonnel-Douglas ad from a few years ago