Maximilian Guenther has lost his maiden podium after being given a drive-through penalty for overtaking under the safety car, while Oliver Turvey has been disqualified from the Diriyah E-Prix.
Guenther had finished in second place in his second race for BMW i Andretti Motorsport but has been given a drive-through penalty converted to a 24-second time penalty.
It means Guenther drops out of the points and is classified in 11th place.
The German driver had been running in fifth in the first part of the race but overtook before the control line on the first safety car restart.
The penalty means di Grassi now finishes second and Mercedes EQ FE’s Stoffel Vandoorne in third, his second podium in two races.
NIO333’s Turvey was also penalised by being disqualified from the race. Turvey had used 40.06kWH of energy during the race, with 40kWH being the maximum allowed.
Although 52kWH is the starting amount of energy available, 1kWH of energy is deducted for every full minute behind the safety car or full course yellow.
There were two safety car periods and one full course yellow period totalling 12 full minutes, meaning 12kWH of energy was deducted from the usable allowance.
There was also a five-second penalty handed to Mercedes' Nyck de Vries as well as 24-second penalty for overtaking under the safety car.
Turvey’s disqualification and penalties for Guenther and de Vries moves Daniel Abt into sixth place, Jaguar Racing’s James Calado into seventh and reigning champion Jean-Eric Vergne into eighth.
Vergne had a 20-place grid drop for a battery change, but as he could not serve the whole penalty also had a 10-second stop/go penalty to serve.
Dragon Racing's Brendon Hartley picks up his first Formula E points with ninth, while DS Techeetah's Antonio Felix da Costa recovers from his own penalty to finish in 10th place - plus pick up an extra point for fastest lap.