Switzerland's supreme court granted an interim order to freeze Guerrero's 14-month ban for a positive test for cocaine metabolites at a World Cup qualifying game.
'As a result, Paolo Guerrero can take part in the next World Cup, ' the federal court said.
Guerrero, who will nearly certainly not have had another chance to play at the World Cup even if Peru qualified again, is now free to lead his country in their first appearance at the tournament for 36 years.
"While Guerrero has won a temporary reprieve from the Swiss federal court, it is unfortunate that he has to endure such a protracted legal wrangle that is still not over".
"Mr Guerrero submitted an urgent request for the suspension of the execution of that sanction in order to participate in the next FIFA World Cup in Russian Federation".
In a statement, FIFPro said they were "delighted" by the outcome but expressed regret that the Flamengo striker must face proceedings after the finals.
"What better way to unite the whole country, through news that makes all Peruvians happy", he added in a statement.
Klopp says Salah doubt for World Cup, Egypt more hopeful
Egypt begin the World Cup against Uruguay on June 15 before facing hosts Russian Federation and Saudi Arabia in Group A. The 25-year old Salah was substituted by Adam Lallana, who has played only 16 minutes since March because of injury.
The court agreed on Thursday to temporarily lift a 14-month suspension, imposed by the Court of Arbitration for Sport (Cas), while it considered the 34-year-old striker's appeal.
Kiss wrote in an eight-page judgment how Guerrero benefited from a "rare surge of solidarity" to support his case.
Prior to having his ban overturned, the Flamengo striker had received the backing of the captains of France, Denmark and Australia - Peru's rivals in their World Cup group - who appealed to Federation Internationale de Football Association for the striker to be cleared to play.
She also noted a possible negative effect on Guerrero's teammates of being deprived of their "emblematic" captain.
Sport's top arbitration court responded by increasing the reduced six-month ban to 14 months.
The verdict came four days ahead of FIFA's Monday deadline for Peru to finalise its 23-man World Cup squad. He argued that the stimulant had not been performance enhancing, and was accidentally consumed in contaminated tea. The panel decided a ban to January 2019 was an "appropriate sanction ... in light of Mr Guerrero's degree of fault".
But instead of accepting the ruling, Guerrero appealed to CAS in a bid to clear his name.