Heidfeld stuck it up the inside and was as far over as possible - Ralph knew he was there and slammed the door leaving Heidfeld nowhere to go.
It wasn't a hopeless "Sato" up the inside from a mile back, and I think that having people punished for attempting to overtake is stupid.
It is bad enough that the aero of the cars makes it impossible for the cars to get close - but when they finally manage to get close enough to make an attempt, with the possibility that they will get docked points - they won't bother.
It was until Michael Schumacher did it, then it wasn't.