Apparently it can not be prevented by KK? Otherwise, I'm sure he would have done it.

I both my campaigns an AI orc faction was made a vassal of an AI elf faction. It is a right bother. It allows the orcs to fatten up and then break the treaty when the next invasion is called.