In other words, the Catholic Church is looking for the Sacrament of Matrimony performed by a priest under the right circumstances.
It doesn’t mean that children are illegitimate.
“In other words, the Catholic Church is looking for the Sacrament of Matrimony performed by a priest under the right circumstances.”
That’s not true. The Catholic Church recognizes marriages in most Protestant churches.