This is koka, and it was extremely honorable for a man to take a Princess to his wife and there were many cases of koka in the middle of the Heian period.
これを降嫁といい、皇女を妻に貰い受けることは男性にとっては非常に名誉な事とされ、主に平安中期に多く行われた。