[quote="FrDavid96, post:5, topic:441447"]
Here is what the Latin Code says.
The Eastern Code says the same (again, I can cite it IF necessary)
Can. 111 §1. Through the reception of baptism, the child of parents who belong to the Latin Church is enrolled in it, or, if one or the other does not belong to it, both parents have chosen by mutual agreement to have the offspring baptized in the Latin Church. If there is no mutual agreement, however, the child is enrolled in the ritual Church to which the father belongs.
§2. Anyone to be baptized who has completed the fourteenth year of age can freely choose to be baptized in the Latin Church or in another ritual Church sui iuris; in that case, the person belongs to the Church which he or she has chosen.
Can. 112 §1. After the reception of baptism, the following are enrolled in another ritual Church sui iuris:
1/ a person who has obtained permission from the Apostolic See;
[n.b. this is somewhat outdated, because under the revised laws of HH Francis, obtaining such permission is extremely easy and doesn't involve direct communication]
2/ a spouse who, at the time of or during marriage, has declared that he or she is transferring to the ritual Church sui iuris of the other spouse; when the marriage has ended, however, the person can freely return to the Latin Church;
3/ before the completion of the fourteenth year of age, the children of those mentioned in nn. 1 and 2 as well as, in a mixed marriage, the children of the Catholic party who has legitimately transferred to another ritual Church; on completion of their fourteenth year, however, they can return to the Latin Church.
§2. The practice, however prolonged, of receiving the sacraments according to the rite of another ritual Church sui iuris does not entail enrollment in that Church.
Recently revised adding sui iuris into § 1, renaming § 2 to § 3 and adding a new § 2 below:
§ 2. If only one of the parents be catholic, the baptized is ascribed to the Church to which the catholic parent pertains.
The Rescript of 112 allowing transfer for the Latin Church faithful with the same rule as the eastern (agreement of both bishops) is below:
AAS 85  81:
Acta Ioannis Pauli Pp. II
Fit facultas licentiam de qua in can. 112, 1, 1 C.I.C. legitime, in casu, praesumenda.
RESCRIPTUM EX AUDIENTIA SS.MI
Ad normam can. 112, 1, I Codicis Iuris Canonici, quisque vetatur post susceptum Baptismum alii ascribi Ecclesiae rituali sui iuris, nisi licentia ei facta ab Apostolica Sede. Hac de re, probato iudicio Pontificii Consilii de Legum Textibus Interpetandis, Summus Pontifex Ioannes Paulus II statuit eiusmodi licentiam praesumi posse, quoties transitum ad aliam Ecclesiam ritualem sui iuris sibi petierit Christifidelis Ecclesia Latinae, quae Eparchiam suam intra eosdem fines habet, dummodo Episcopi diocesani utriusque dioecesis in id secum ipsi scripto consentiant.
Ex Audientia Sanctissimi, die xxvi mensis Novembris, anno MCMXCII.
ANGELUS card. SODANO