Some parents have been surprised to find themselves in the legal system’s cross hairs.