I believe that in many cultures Originally marriage was a sex contract and people could get a divorce if they did not want to have sex with someone
It seems like there is an implication that someone can claim to agree to sex while simultaneously claiming they never agreed to have sex