Whether children born out of true marriage are illegitimate?

Objections

Objection 1 : It would seem that children born out of true marriage are legitimate. For he that is born according to law is called a legitimate son. Now everyone is born according to law, at least the law of nature, which has more force than any other. Therefore every child is to be called legitimate.
Objection 2 : Further, it is the common saying that a legitimate child is one born of a legitimate marriage, or of a marriage that is deemed legitimate in the eyes of the Church. Now it happens sometimes that a marriage is deemed legitimate in the eyes of the Church, whereas there is some impediment affecting its validity; which impediment may be known to the parties who marry in the presence of the Church: or they may marry in secret and be ignorant of the impediment, in which case their marriage would seem legitimate in the eyes of the Church, for the very reason that it is not prevented by the Church. Therefore children born out of true marriage are not illegitimate.