Hovrätten har förordnat om inhibition av en dom på skyddstillsyn med samhällstjänst endast avseende föreskriften om samhällstjänst.