As you know, it is illegal to have an offline 230VAC flyback SMPS which uses a TO220 FET in the PCB without legs bent to get the clearance above 1.5mm from drain to source.
…But I have taken apart an offline flyback SMPS, which is sold throughout the EU. It comprises a TO220 FET which is soldered into the PCB with legs not bent. There is just 1.09mm clearance (also creepage) between the bare metal of the drain and source pins along the PCB. This is illegal.
It is sold by a huge European corporation, throughout the EU, though the SMPS was designed in China.
How is this allowed? The volume sales of these product are enormous.