Carlos Sainz is demoted three positions on the grid for the German Grand Prix after blocking Felipe Massa in qualifying.