Robinho was caught up in a club-versus-country debate between the Spanish giants and the Brazilian Football Confederation (CBF).

The 23-year-old was initially due to arrive in his homeland on June 13 to join the national team, who are preparing for the Copa America in Venezuela from June 26 to July 15.

Real Madrid refused to release him as coach Fabio Capello required him to play against Real Mallorca on Sunday in a game which secured them the Primera Liga title.

After long negotiations, the CBF finally allowed Robinho to play against Mallorca on the premise the player joined Dunga's training squad on Tuesday.

Robinho is the last player to join the Selecao, who will be trying to retain the title they won in Peru three years ago.