Enemies would attack it on sight. And then it would smack them. The wayward mecha knight will just wander around if nothing hits it.
EDIT: maybe it would show some "innocent" interest and follow players around while generally avoiding enemies until they attack it (which would be hilarious to watch). Players in range of enemies would have a stronger aggro pull than the knight, of course.
I'd love to see such a thing in the clockworks! Being its own "neutral" team is a nice touch, but would enemies attack it as if it were a friendly mecha knight, or ignore it as if it were an enemy (until a stray attack turns it to your side)?