I think this is correct, and it also applies to Iran. 

Remember that "axis of evil" -- Iraq, Iran, and North Korea? After watching the first involuntary axis member being invaded by the US, what would you do, were you in charge of either of the others? Right. Get some nukes ASAP. Obfuscate and stall on negotiations while you are not there yet; flex your muscles as soon as you are. 

You don't have to like either regime to admit that their actions in this regard are perfectly rational.