I asked myself this question but I don't think they have to know, if your enemy is centred in a city what better offencive stratagy than launching a full scale invasion, and whith a wall in the way? Simply move it, and then all their power is gone.
....
I don't know, could very well be the case.