Control cabinets are often certified in accordance with the Low Voltage / EMC Directive, particularly if the control cabinet comes from another manufacturer. So it is both possible and permitted for the machine and control cabinet to have difference CE marks.