I'm afraid it's not that simple. They may announce nuclear capability but without a successful test detonation, which leaves the issue in a state of ambiguity. They may try to create fear and uncertainy in the minds of people in the
West about Iran's nuclear capabilities. If this happens, the West needs to be brave and stand tall in response, as Israel does, and give them the middle finger. If they try a nuclear weapons bluff, I don't think it will work because people in the West are tougher mentally than Iran thinks and most of the public doesn't really comprehend the severity of the threat from nukes and thus won't be unduly alarmed.