Is there a reason why Yonko god luffy is using Gear 5 ACoC infused attacks against a random snake?

Inb4 "but the black lighting doesn't mean it's ACoC"

Inb4 "but the black lighting doesn't mean it's ACoC"