If a child is treated as a child born in wedlock under the national law of either the husband or wife at the time of the child's birth, the child is deemed to be a child born in wedlock.
夫婦の一方の本国法で子の出生の当時におけるものにより子が嫡出となるべきときは、その子は、嫡出である子とする。
If a husband has died before his child's birth, the husband's national law at the time of his death is deemed to be the husband's national law set forth in the preceding paragraph.
夫が子の出生前に死亡したときは、その死亡の当時における夫の本国法を前項の夫の本国法とみなす。
Read this with the articles around it
national law
本国法
The law of the country whose nationality a person has. The Act on General Rules for Application of Laws makes it the law that governs, among other things, a person's capacity to act (Article 4, paragraph (1)), the formation of a marriage, for each party (Article 24, paragraph (1)), and inheritance, by the national law of the person who died (Article 36). Under that Act, for a person with two or more nationalities it is the law of the one of those countries where the person has their habitual residence (常居所), or, if they have it in none of them, of the one most closely connected with them; but if one of the nationalities is Japanese, it is Japanese law (Article 38, paragraph (1)). Under that Act, for a person with no nationality the law of their habitual residence is applied instead, except under the rules on the effects of a marriage, which also govern matrimonial property and divorce, and on the legal relationship between parents and child (Articles 25, 26(1), 27 and 32; Article 38, paragraph (2)). Where a person's national law would itself have Japanese law apply, Japanese law applies, except where the national law is applied under those same two rules (Article 41).
Written for this site using Act on General Rules for Application of Laws, Arts. 4, 24, 25, 26, 27, 32, 36, 38, 41 as a reference.