Just to add, it isn't just the point related to "medieval era".
Even in real modern life, people of high society rarely marry those of lower economic level, and even if they do marry, there are penalties to pay.
I mean, just few years back, Princess of the Japanese imperial family married a...