might that not fry the device, though?Yes, it is a fundamental safety aspect of the transformer / electronic power supply that it provides adequate insulation between the 230V input and the ELV / Class III device it powers. Therefore an insulation or leakage test to the ELV output is important. Some non-compliant / fake / firecracker phone chargers and their like have deficient insulation that is a smoke paper away from causing a serious shock or electrocution when someone touches the attached phone.
might that not fry the device, though?