In Japan, transgender individuals are required to undergo surgery and sterilization before they can legally change their gender.
As the liberals are fond of saying "that is common sense legislation" it would prevent the lipstick on a man posing as a woman problem.
Currently, Japan does not recognize same-sex marriage.
Another common sense rule.