The Barcelona star may have played his last game for the national team.