Basically, I think the most optimistic possible outcome from of this is returning to something like the nuclear deal, but with way better terms for Iran.
This is an english speaking tech forum, so it’s safe to assume most people here live in a country that has nukes like the US, UK, India, probably decent number of people who came from China and Russia too.
If thats important its counter intuitive to show that agreements about not getting any nuklear arms is worth nothing, and wont stop you getting invaded.