Actually, even under the Code, 90 degree #12 wire has an ampacity of 30 amps. It's restricted to 20 amps, if I understand correctly, simply to provide an extra safety margin on circuits that are often played around with by unqualified personnel.