57 This norm of a just freedom in things scientific, serves also as an inviolable norm of a just freedom in things didactic, or for rightly understood liberty in teaching; it should be observed therefore in whatever instruction is imparted to others. Its obligation is all the more binding in justice when there is question of instructing youth. For in this work the teacher, whether public or private, has no absolute right of his own, but only such as has been communicated to him by others. Besides every Christian child or youth has a strict right to instruction in harmony with the teaching of the Church, the pillar and ground of truth. And whoever disturbs the pupil's Faith in any way, does him grave wrong, inasmuch as he abuses the trust which children place in their teachers, and takes unfair advantage of their inexperience and of their natural craving for unrestrained liberty, at once illusory and false.
Source: Divini Illius Magistri (Vatican.va)