CE marking is only obligatory for products for which EU specifications exist and require the affixing of CE marking.
Some products are subject to several EU requirements at the same time. You must make sure that your product complies with all the relevant requirements before affixing the CE marking to it. It is forbidden to affix the CE marking to products for which EU specifications do not exist or do not require the affixing of CE marking.