A diplomatic settlement is the only viable way to resolve the conflict with Iran