Wouldn’t a massive solar flare while the magnetosphere was weak (say during a polar shift) do pretty much the same thing?
Yes.