Is this the law I heard that goes against the "Hikari Genji Plan" stories?
If I remember what I read on... I think it was tv tropes, "Hikari Genji Plan" is when someone grows up with an adopted sibling or child and marries them later in life.
But later there was a law added in Japan that forbids marrying adopted or step relatives just as it would actually blood-related ones.