Yeah, it's a loophole that doesn't make much sense to me (I feel like only cleric levels should count towards HD of undead you can control) but this thread was all about taking advantage of such loopholes haha.
The rules for nonassociated class levels are pretty clear, not much need for fiat on my part. Spellcasting classes (around which this thread is focused) are always non-associated, unless the base creature already has spellcasting.
The exception would be the couatl of course, but it's a common houserule to advance spellcasting with racial HD for such creatures.