The Supreme Court on Wednesday upheld the constitutionality of a controversial Civil Code provision requiring married couples to use the same surname in official matters.

The decision was a blow to campaigners who sued the state, asking the nation's highest court to declare the rule unconstitutional.

The matter is contentious in Japan, with opponents calling it an infringement of women's fundamental rights and conservatives regarding shared names as a central pillar of the family unit.