The Supreme Court underscored that such incarceration strikes at the heart of child protection laws and constitutional guarantees