If a realm has two cities, the capital could secede and join a bordering realm...
Please be more careful with your terminology. A city changing allegiance is
not a secession. It is a simple change of allegiance.
A secession involves the city leaving the realm to form a brand new realm. A capital city
cannot do that.