All valid Trinitarian baptisms are "Catholic baptisms". Someone baptized by non-Catholics (remember, anyone can baptize validly, even an apostate) remains a Catholic until they attain the age of reason, at which time, if they embrace another religion (or no religion at all), they become at least material heretics, granted, through no fault of their own.
It seems to me, then, that the Church creates a kind of legal fiction, by which those children are treated in Canon Law as never having been Catholics. If it's not a legal fiction, then what is it?