“...to be told categorically that Iran would not do so.”
THAT’S when you walk out.
Correct, because after that — you’re just negotiating against yourself.