I think the judicial system of most countries differentiate between sexual practices. For example fellatio, vaginal, anal, kissing, etc.
It's possible that lesbian sex counts as fellatio and is legal, while vaginal (mother x son) is illegal.
But i am only theorizing... it's sometimes difficult...