Court upholds sentence in grievous bodily harm case