 In the civil code of Iran, fetus can inherit in case of abortion that took place due to a crime, as long as the fetus was alive even for a second after birth.Under the civil code of Japan, for the purposes of inheritance the fetus is deemed to have already been born.The civil codes of the Philippines and Spain envisage that donations to the unborn children can be made and accepted by "persons who would legally represent them if they were already born".