@frozen: Grant Morrison wrote it. And Batman was delirious during that scene, it wasn't meant to be taken 100% seriously. That said, he did put on the costume and did what he said he would.
Oh, that makes sense. With Morrison it would be self-aware/in-joke, but I can imagine someone like Frank Miller writing that and treating it with full seriousness, lol.