There are plenty of reasons for why these NPC might have flaws in their build that would otherwise disqualify them. My personal favorite being that the characters were made before the classes were fully complete and were never updated to meet the prerequisites of the class. It's a stretch, but it IS a possibility. Since WoTC often leaps before it looks