I don't agree with the notion that he's a gatekeeper or testing Luffy. He very clearly mentions having to deal with Barto as a result of it hurting his credibility. I think that's enough justification to show that when it comes to this character, it's not being done for Luffy. You also have his apparent relationship with the Gorosei. I don't think people understand how much of a red flag it is for someone allegedly not part of the WG, to just discuss things with them as if he's there to also maintain the balance in some way.
I get that he's very two faced though and thats confusing. This very chapter shows both sides of it. His crew wants to praise Luffy and see him. He's happy as well. Then he refuses and decides to go after one of his subordinates (for reference, look at how Kid was treated after directly attacking them, they certainly are willing to injure people who are against them at least). Then Ben pours him a drink without saying anything, Then he decides its time they go after One Piece. TCB may have translated it to seem a bit generic, but Redon and Eten did not, and both mention that the RHP actually join the fight for OP. Nobody is seemingly shocked he defeated Kaido either, which is interesting.
Idk, part of my theories about this character are the fact that we don't know much about him. And after Wano, we still don't lol. But that enigmatic persona does not tend to bode well for fictional characters if you are expecting them to be these perfect, ideological mentor/father figures. Just my 2 cents on that.