Just figure over all these centuries, there has to be some example of this where twins were born and a correct line of succession had to be established.
Further posts are always welcome on the matter, as this sub believes that no one answer is ever 'final'. For the meantime, the matter of twins versus inheritance has come up before, so while we wait for new posts, here's two previous ones for your reading: