Lol it’s not pandering to anyone. It’s making a point that’s timely and the fact that you are finding way to attempt to disregard it or try and disqualify it as a valid point means that the ending does a great job. This is the era you live in whether you shrug everyone off as “culture warriors” or not.
Would you have wanted the ending to be the pope to be elected and everyone hugging and waving goodbye as the camera ascends to the heavens, where God then turns and winks at the audience? Or do you want something to talk about that has an effective tie to the theme of the film.
Watch a documentary if you want an accurate description of the papal voting process.