What? Where did you pull this blanket statement from?
Don't get me wrong, it shouldn't be done without good reason, but it's DnD. If you're fighting the avatar of the god of magic, you better believe he could mess with the spellcasters' spells. Remove some of them, swap'em round, random bonanza...