Legitimacy of Children.) Children born or adopted of a marriage declared invalid are the lawful children of the parties. Children whose parents marry after their birth are the lawful children of the parties.