Former Barcelona and Brazil footballer Ronaldinho has been arrested in Paraguay after he allegedly entered the country with an altered passport.

The 39-year-old and his brother, Roberto de Assis Moreira, were taken to a police station in Asuncion, according to prosecutors, and are due to face a judge on Saturday.

Ronaldinho’s lawyer Sergio Queiroz said he has filed an injunction to release the pair.

On Thursday officials said they would not charge the 2002 World Cup winner and his brother but on Friday a new prosecutor ordered their arrest.

Global sports video charts: Ronaldinho, crazy golf, Asian Cup Show all 3 1 /3 Global sports video charts: Ronaldinho, crazy golf, Asian Cup Global sports video charts: Ronaldinho, crazy golf, Asian Cup 2011 YouTube, LLC Global sports video charts: Ronaldinho, crazy golf, Asian Cup 2005 - 2011 Dailymotion Global sports video charts: Ronaldinho, crazy golf, Asian Cup All rights reserved - Nico Nico Douga

According to local media, Ronaldinho was due to fly out of the country on Friday afternoon.

When questioned by police on Wednesday the pair said they were gifted the passports “as soon as they got off the plane” in Asuncion.

Ronaldinho and his manager brother visited Paraguay on the invitation of a local casino owner and were to take part in a soccer clinic for children and a book launch.