Code geass was a little iffy at times, and I personally hated how it ended. Why did Lelouch need to be the decoy in this whole debacle? Did he have to intentionally make everyone see him as the bad guy to get his wish? No. I think the only person in his way of getting his wish was Schneizel, and that was because he had a destructive mentality, and because he held Nunnally hostage. On the other hand, I do see why he died. Having geass is more of a curse than a blessing no matter how it's used. The person in control of it can become someone they're not, and in the eyes of Nunnally, it was something to be ashamed of, which is why he proceeded in assisted suicide. Back to my first point. Lelouch, could have easily gotten his wish if he merged Britannia with the Chinese Federation of Nations, thus cornering Schneizel into giving in. I think because Lelouch was destructive, Schneizel followed to fight fire with fire. Let's not forget that Lelouch is a narcissist in some ways, so it doesn't even surprise me in the slightest that he would make everyone hate him, just so he can become an infamous figure, never to be forgotten after this death.