Temer's lawyer, Eduardo Carnelos, told to Globo Television on Wednesday that he could only "lament" the court's decision. Carnelos said Temer would present himself to authorities Thursday, according to AP.
In April Temer was indicted on corruption charges brought by prosecutors who said he took part in a bribery scheme related to the Angra 3 nuclear power plant complex on the coast near Rio de Janeiro, Reuters reported at the time.
The case was part of Operation Car Wash, Brazil's largest corruption investigation, which has put dozens of businessmen and politicians in jail since 2014, according to Reuters report.
READ MORE: Brazil Ex-President Temer Arrested Amid Corruption Investigation — Reports
Ex-Brazilian president Temer had been held for several days in March over charges in a corruption case involving nuclear power plant operator Eletronuclear before being released, according to Reuters report.
The scandal hit Petrobras in 2014, when it became known that several company officials signed contracts and received commissions for this in the amount of 3 percent of the contract amount. These funds were later used to bribe politicians and officials. According to the Brazilian authorities, overpricing and bribes brought the authors of the scheme about $3.8 billion.
Temer was president from 2016 to 2018, taking office following the impeachment of Dilma Rousseff.