This doesn't take the tragedy out of the story. No one should forget that M was someone's child, had a life which had value, was capable of love. Might have had a fine future.
It is just that a court is not the way to express this. One doesn't have to blame Z, to wish him to be punished, in order to have compassion for M.
Justice isn't a synonym for punishment.