A player from a third faction, an enemy to both fighting heroes? Well, the same thing happens – these guys essentially finished the battle and are standing side by side. The third player can attack either of the two opponents and then the remaining one.
But they haven't finished, the troops are mixed, some are under spells, etc., and how will this look?