That's the point – even if the second hero is a Knight or a Sorcerer, it won't prevent transforming the entire army into undead in a Necromancer's Castle.
Then, we also need to consider the fact that at least two enemy armies can be stronger than one.
Except the ones we've made