I think the question is when would it not, because the Church teaching allows the donation of bodies for research, provided the body is treated with respect. Often research hospitals, labs, and medical schools, when their work is done, arrange for burial (or cremation) according to the family’s wishes.