Second of all, there is a pretty obvious precedent for franchise rehabilitation of this nature. After all, Warner Bros. did it once before with the Batman franchise nearly 25-years ago.
Batman Returns broke the opening weekend record with a $47.7 million debut but soon collapsed due to its not-so-crowd-pleasing content and child-unfriendly sex and violence. The film earned $162m domestic, good for the biggest movie of the summer. But it had dropped a then-huge 45% in weekend two and was in-and-out-of-theaters in six weeks. Within weeks of the debut, Warner Bros. was wringing its hands about how to save their crown jewel property. The status quo that was Tim Burtons Batman universe could not stand.
Because even though the film made a lot of money, it was clear that the template provided by Tim Burtons Batman Returns was not going to guarantee anywhere near as much interest in a third film. Tim Burton was indirectly shown the door, taking Michael Keaton with him. Joel Schumacher came aboard with Val Kilmer for what turned out to be a more crowd-pleasing and kid-friendly Batman Forever three years later.
They reconfigured the franchise and were able to produce a somewhat lighter and more adventure-ish blockbuster action movie, complete with prime star+concept casting (Jim Carrey as The Riddler). Batman Forever made significantly more money worldwide ($336 million versus $266m) than Batman Returns and, for a moment, the franchise was saved.