North Korea could get the bomb because they had qualms about letting hundreds of thousands or millions of people literally starve to death [1].
But let's say another country, country X, wants to acquire the bomb now. Then what? First thing: the IAEA inspectors discover that. Building a bomb is too massive an operation to be done completely in hiding. Once the IAEA inspectors find you, you either withdraw from the non-proliferation treaty, or you don't, but people know you are lying (just like they knew about Iran). Sooner or later sanctions will follow. You are cut off from all the Western nuclear supply chain. If the unnamed country X is actually Sweden, or some other Nordic country, or Poland, or any country that's part of the "West", you do care if all the nuclear supply chain is legally banned from trading with you. What are you going to do? Go to Russia, or China? Are they going to help you build a bomb that you will then use to deter them? Are you sure they are that stupid?
But let's say you are a country that's not part of the "West". Then you have bigger problems. After what just happened, you know that sooner or later you might have some bunker busters rain down on you. North Korea was lucky, but now the precedent was set. The next nuclear aspirant won't be able to hope that the West will play nice and refrain from bombing you while you are busy enriching uranium.