And it feels like it kind of fucked up the moral. Magic was never the problem. Racist fuckwads who were literally trying to make Mewni great again were the problem.I'm inclined to think that even though the Realm of Magic is gone, that doesn't mean everything magical is gone.
The shot of the pizza party with the HMC was just something Ponyhead said, so I wouldn't take it literally.
In this case, destroying magic being the solution annoys me because it's previously come across as something vital to the universe. The later part of the series treated it as a metaphor for privilege, but before that it was a vital tool, and it's corruption was a serious problem in itself.
Destroying the Realm of Magic had enormous, dramatic effects, but was still far more survivable than I expected.