That's an outcome that seems both fair and economically  The punishment falls on the sinners and thereby deters the sin.
The guilty will be punished with justice.
That outcome is not fair and the sinners must not be punished.