Maybe, maybe not. Once you have shown you have the capabilities it's a different story, but then again you don't have to directly do it, just leak it to your "friendly" neighborhood terrorist group and let them take the blame. Maybe Iran is a different story but what if a dirty bomb was made from India's or China's nuclear materials for example, would an international coalition invade them? I doubt it.