I mean, this question is not just about normal criminals.
Think like very bad crimes. Like serial killers, rapists, child rapists, terrorists, corrupt officials, terrible leaders, cruel dictators, generals that ignore laws of war, or like people has bad as Hitler. Which of these people do you think deserve a respectful burial, if any.
Is there a level of evilness that you think should not be allowed to have a proper buriel or have their corpses mutilated. Or should everyone deserve a respectful burial regardless of crimes.
I personally don’t even know how to answer this question myself. Like the funeral isn’t even for the dead. Its for the living. So to me, the question seems like, should the relatives of a bad person be allowed to see the corpse treated respectfully. I personally don’t have an answer to this question.
Our rituals around death are really for the living. We should respect the wishes of the family of the deceased because it’s important to make the (already difficult) grieving rituals as meaningful and painless as possible, not because of the moral qualities of the deceased.