When you rectify 240V AC you get about 340V DC.
While a transistor can stand a high forward voltage it is rubbish on reverse voltage. A lot of mains stuff will not work on DC.
Also DC at this voltage is more dangerous than AC because when you get a schock it paralyses the muscles and you "stick" and can't remove yourself from the circuit.