Former Brazilian president Luiz Inacio Lula da Silva gestures during a campaign rally to launch his presidential candidacy for the upcoming October elections, at the Workers Central Union (CUT) headquarters in Sao Paulo, Brazil, on January 25, 2018. (Photo by AFP)

A Brazilian court on Thursday approved the seizure of former President Luiz Inacio Lula da Silva’s passport, the Justice Ministry said, after an appeals court upheld the corruption conviction of the left-wing hero.

The decision came on the eve of a planned trip by Lula to Africa. It also came a day after appellate court judges voted to uphold Lula’s convictions on taking a bribe and money laundering and extended his sentence, in a major blow to the popular politician’s plans to run again for the presidency this year.

Lula’s lawyer Cristiano Zanin said the former president’s passport would be handed in on Friday, but called the decision “shocking” and an unnecessary restriction on his freedom of movement. In a statement, he said that the appellate court had been informed of Lula’s trip to Africa and his plans to return to Brazil on Jan 29.