CONSTITUTION OF IRELAND – BUNREACHT NA hÉIREANN
Article 42, Para. 5
5. In exceptional cases, where the parents for physical or moral reasons fail in their duty towards their children, the State as guardian of the common good, by appropriate means shall endeavour to supply the place of the parents, but always with due regard for the natural and imprescriptible rights of the child.
Certainly looks as though they did a slap-up job of caring for these 796 small children, the remains of whom were uncovered after being dumped in a sewage tank, by ever-so-caring Catholic nuns, and forgotten for decades!