Was the Iran war leverage or a lifeline for Tehran?