I've got a novel idea.
Lets punish people for misdeeds they've actually done rather than pre-emptively restrain everyone because of what someone else might do.
If someone does something criminal and/or stupid and causes harm to another, punish them accordingly. Make it real, make it hurt and make it public.