I believe the AI is omniscient similarly to the player (examine enemy) and knows who has the lower AC, so yeah kind of the robes smile