CIA torture exemption 'illegal'