Wow, to think rinnegan is immune to ocular genjutsu is like saying itachi is immune to rinnegan ninjutsu. How asinine that is. Sasuke used Rinne-sharingan deflection to encase his susanoo with the deflecting aura and thus the susanoo blocked the light. Thats not a feat of rinnegan not even close, not even is that a feat of rinne-sharingan, the most devoloped Dojutsu lmfao. Rinne-sharingan + Perfect susanoo = IT block barrier. This is not even something I should waste my time arguing, since it should've been common knowledge by now, anyone who watches any kind of anime should know that japanese is a very complex contextual language which changes in meaning depending on the context in which it's said. Sasuke's eye is called a rinnegan but the thing is madara called it a one eyed rinnegan and hagoromo called it Sasuke's rinnegan. He couldve said just rinnegan when he said "we need tailed beasts chakra and Sasuke's rinnegan".
There are a lot of contextual terms in NV which should be read analytically and intellectually instead of taking every little sh*t literally.