Y2 is not reinforced insulation
Use CE line-to-earth only where the equipment standard permits Y2 basic or supplementary insulation. Do not replace a CY or CD Y1 capacitor in a reinforced-insulation position because capacitance, voltage or footprint appear to match.
