That is the type of EMP that worries me. There is no geopolitical strategy we can apply to prevent the sun from launching a solar flare. The possible power of such an event could dwarf anything man could create and it might affect the entire planet.
The movie “Knowing” scared the crap out of me :)
a solar flare (CME) is quite survivable. You have time to prepare and so do the utilities.
Nuclear, exoatmospheric EMP is a very different animal from a CME or an atmospheric nuclear explosion.
A well-engineered ‘space nuke’ is the nightmare scenario, not the sun.
A regular nuke detonated at say 5K’ ASL is more about blast, heat and radiation than EMP.
Lots to learn if you are really curious.