In any mission you get those new allied knights that work like invincible mechaknights, it's possible to have autotarget focus on them.
Mind you, they aren't able to be targeted immediately when freed. I suspect it has to do with how after you kill an enemy you've autotargeted it snips to the nearest thing, which might be one of your little friends. At this point, they become able to be autotargeted at any time. This gets rather infuriating if you have four allies milling about and you're trying to kill a single gremlin with a rapier, but you keep attacking your allies instead.