Actually Dumas, that's a flaw in the city-handover mechanic, not the way the AI builds things. When a city is turned over, the receiving faction is given an occupying force there. The problem is, that force is often mostly one kind of unit. I have quite often received all-siege armies when I've gotten provinces from diplomacy.