constitutional precedent custody safety