There is a logic to elections in Iran. The regime allows the rituals of popular democracy to proceed, but only under the strict condition that they must never transform the political landscape.