That's how it works in general unless there is a prescribed compulsory penalty.
Usually (or often) the job of the court/jury is not only to decide on guilty/innocent but, in case of a guilty verdict, to decide on the level of culpability and appropriate penalty (within what's prescribed in law).
Usually (or often) the job of the court/jury is not only to decide on guilty/innocent but, in case of a guilty verdict, to decide on the level of culpability and appropriate penalty (within what's prescribed in law).