That's been known for some time, the problem is that the AI doesn't do this and you often marry your heir to ugly princesses.