Last updated on .From the section European Football

German referee Felix Zwayer disallowed a France goal, and awarded one to Spain, after consulting with a video assistant referee

Video technology was used to correct two wrong decisions as Spain beat France in a friendly in Paris.

France striker Antoine Griezmann had a goal ruled out by a video assistant referee for offside.

quote It is against us today, but if we have to go through this, it will be the same for everyone France coach Didier Deschamps on Video Assistant Referee (VAR)

And Spain's second goal, scored by Gerard Deulofeu, was awarded by the video official after an assistant referee wrongly flagged for offside.

David Silva had opened the scoring for Spain with a penalty after Laurent Koscielny fouled Deulofeu.

Video Assistant Referee (VAR) is currently undergoing trial runs, with Fifa president Gianni Infantino keen to employ the system during the World Cup in Russia next year.

More international reports

Griezmann thought he had given France the lead with a header but referee Felix Zwayer reversed his initial decision after receiving a message in his earpiece from the video assistant referee, who was sat in a truck outside the Stade de France.

Replays showed Layvin Kurzawa was narrowly offside when he headed the ball to Griezmann, with the decision to overturn the goal made in about a minute.

The Spanish players were able to celebrate their second goal following the referee's conversation with his video assistant

Deulofeu's goal - from a Jordi Alba cross - was awarded after a conversation between the referee and the video assistant that lasted about 40 seconds.

There appeared to be no player protests about either decision.

Why was it being used?

VAR technology was first used in September, in France's 3-1 friendly win in Italy, and both the Spanish and French football associations agreed to its use during Tuesday's match.

"If it is verified and it is fair, why not (use VAR)?" France coach Didier Deschamps said. "It changes our football a little.

"It is against us today [Tuesday], but if we have to go through this, it will be the same for everyone.

"Afterwards, without [VAR], it would have been different, but it is the evolution of football. That is how it will be."

VAR has also been used at the Fifa Club World Cup, and the Football Association wants to use it in next season's FA Cup from the third round onwards.

'Goaaaal France....'

Atletico Madrid's Antoine Griezmann celebrates what he thinks is the opener for France...

But VAR says...

The Video Assistant Referee system was used during Tuesday's match

... 'No goal!'

Antoine Griezmann's (right) celebrations are brought to a halt by VAR