Different scenario. An EMP wouldn't necessarily be from a physical nuclear attack creating wide spread devastation. It could be caused by an atmospheric event which might be an intentional nuclear detonation above the surface. or a comet, massive solar flare, asteroid impacting the atmosphere, etc., etc.
There, now don't you feel better?