Are MP3 CDs illegal for sale in some countries? Is it that they are legal in some countries and illegal in some other countires?

And why are they illegal at all?