After more than a decade of diplomatic isolation and economic sanctions, its status as a threshold nuclear state has been internationally legitimized. Moreover, it has managed to compel the US to abandon its dream of regime change, and to coexist – and even engage – with an Islamic theocracy that it finds repugnant.