Genjutsu wouldn't affect the 6 paths of pain
I am going to prove with FACTS why genjustu wouldn't work on the 6 paths of pain, this is evidence found here
You must be registered for see links
Genjutsu uses the chakra system to manipulate images in the brain, this means that any normal ninja would be affected if they had chakra. But the 6 paths are not normal ninja, they are controlled by Nagato, and he can stop and disrupt their chakra to their bodies at will through the chakra receivers. This means that even if Itachi uses tsukiyomi, Nagato would simply cut off the chakra to the path he used it on, it would cancel the genjutsu, and Itachi would have wasted his technique, no matter how many times he does it, it would always work out like that. The only genjutsu technique that would affect the rinnegan is genjutsu using sound, or Izanagi. Because sound hits every single of the Pains at once, so they don't know whether what they are seeing is real or not. Thus preventing them from breaking out of it. If it was the Edo Tensei Nagato vs. Itachi, he could put him under a genjutsu, because it is one person, but with all 6 paths of pain, he would lose