The fact that it's from PokeGen is why.
While people claim that PokeGen is a 'safe' way of editing your games, but there are no 'safe' ways of doing so, because what you're essentially doing is tampering with your game, and there are in-built mechanisms to stop you from doing so.