Bayern Munich defender Lucas Hernandez will not go to a Spanish jail for violating a restraining order in 2017 after a Madrid court on Wednesday accepted the appeal by the French player.
"We consider that the appeal should be upheld and the order to enter prison suspended," the court said in a statement.
A Madrid court last week gave the 25-year-old until October 28 to "voluntarily" enter prison unless his appeal against the order was accepted.
Hernandez, a World Cup winner with France in 2018, was arrested four years ago in Spain for violating a court order banning him from contacting his partner after a violent altercation between the pair.
He and his partner, Amelia Lorente, were both convicted of domestic violence in February 2017.
Neither made a complaint against the other but both were charged by Spain's public prosecutor.
The then-Atletico Madrid player and his girlfriend were each sentenced to 31 days of community service. They were also ordered not to see each other for six months.
Four months later though, Hernandez was arrested at a Madrid airport.
He was in the company of Lorente, who was not arrested as her own restraining order had not yet been formally served. They were returning to Spain after marrying in the United States. The couple have since had a son.
Hernandez was sentenced in 2019 to six months in prison, a sentence he had appealed. It was the rejection of this appeal, on the grounds that he was a repeat offender, that led to this summons before a court in Madrid.