He didn't actually have sex with her though. He brought her there knowing tthey could be seen- and if she's no longer a maiden, she can't be married to someone who is powerful enough to be King-consort. He tried to make his brother HAVE to marry her to him so that he could have the crown.