Alright, now I'm baffled. I'm a King and had a kinsman of my dynasty married to a woman with a strong claim on a particular duchy. They had a kid, also of my dynasty. I pushed the woman's claim to the duchy and won it. I made the kid my vassal by making him Mayor of a city. When the mother died, instead of the duchy joining my realm, the city left it. I don't get it.