Y'know, aside from the awesome pathos, the nuanced character writing, the view of just one of the many ways the Joker's insanity can work, this adds to the awesome of this sort of characterization of him in a whole different way.
The Joker pulled a joke on himself so good that he didn't even know he was in on it.