This really isn’t the case.
I know this fight was staged but the validity of the statement stands (and has been repeated a few times in the series). Pein’s ocular abilities would need to wholly outclass Itachi’s to ignore his genjutsu.
And I don’t think his mastery of the rinnegan > Itachi’s mastery of the sharingan