Another way to say "A judge can decide on a punishment." is "Judges decide punishments."