I kind of got the impression that this film was initially conceived as a Joker-style one-off film that would end with Bruce deciding Batman was a bad idea after learning the Riddler thought they were allies, but then WB decided there should be sequels and forced them to change the ending.