The thing is, in Enies Lobby Oda wrote the best excuse, Sanji needed Kalifa's key, so he had to stay there and try to get the key, even if he didn't want to fight her. But here against Black Maria he had no reason to stay and get beaten the fuck up, that's what triggers me, it was gratuitous.
Its called simping