Argentina captain Lionel Messi has been banned from internationals for three months

Is the federation right to do this to a player who retired from international foot ball and they begged him to come back which he did eventually and now the do this to him?

is it justified?

or should messi retire back?