That rule was effectively overturned in June when the Supreme Court ruled in a case brought by 10 Japanese-Filipino children living in Japan that it was unconstitutional to limit nationality to those whose parents were married .