Real Madrid have won their appeal against Zinedine Zidane's ban from coaching.
Zidane, 42, is assistant boss of Real Madrid Castilla, the club's B team.
The Spanish football federation punished Zidane and boss Santiago Sanchez last month for not having the necessary qualifications.
But days later a Spanish court suspended the ban while they were considering the case - and have now ruled in favour of the club.
European champions Real said Zidane was awarded the necessary licence by the French football federation.
He was appointed Real reserve-team boss this summer after working as assistant to first-team coach Carlo Ancelotti last season.
Zidane won the World Cup with France in 1998 and was named World Footballer of the Year in 1998, 2000 and 2003.
He spent five seasons with Real as a player after joining from Juventus in 2001 for £45.8m - then a world record fee - and scored the winner in the 2002 Champions League final.
Castilla were relegated from the second division last season, before Zidane joined the coaching staff.
Zidane's eldest son, Enzo, recently made his debut for the third-tier side.