The 17-year-old boy pleaded guilty at the Dublin Children’s Court to possessing and producing child pornography.