Ferrari have had to change their rear wing for this weekend's Spanish Grand Prix after the sport's governing body the FIA declared it illegal.

FIA technical director Charlie Whiting confirmed that Ferrari were under investigation due to a technical infringement relating to the rear wing that gave the cars an aerodynamic performance advantage.

In light of the investigation a Ferrari spokesman said: 'We have been told the wing is not legal, so we have had to change.'

Change: Fernando Alonso's Ferrari will now carry a wing that conforms to rules

Both cars, driven by Fernando Alonso and Felipe Massa, now carry a rear wing that conforms to the rules ahead of Saturday's practice, the qualifying session and for Sunday's race.