At first sight, this seems to be a perfect solution since assault with the intent to do grievous bodily harm is a serious offence, and the presiding magistrate or judge can impose a reasonably long prison sentence if the assault caused serious injuries.