At least to some degree it would 'merely' be a question of trimming the royal families at certain points, either by disease or by war, so the crowns end at two persons from said realms, thats allready married previously ... kinda like the Slavic Empire sitting on the Polish, Hungarian and Bohemian thrones, with strong family ties to Grand Duchy of Lithuania, which the Empire on again/off again de facto ruled over