look, it is simple: what happened was that Hamilton passed Vettel with a speed that was too high for him to keep the car on track, so he had to use the green parts to complete has manoeuvre. It is not allowed to use the run-offs to gain position. If he had done the move with a sufficiently low speed to be able to negotiate the corner, he would not have overtaken Vettel, hence the "punishment" was justified.