Sanji litterally stated that he can't manage to damage Queen, and wanna know how Sanji won ? By a Sneak attack using his entire skillset post-powerup, while Queen didn't even defend with hardening.
Wanna know the funny part ? Sanji yeeted Queen off the island because he would get up again if he didn't

Queen had plenty of time to use hardening, there was no sneak attack, queen couldn't see him, and sanji didn't even use his entire skillset
And did your dumbass miss the part where sanji explicitly said that hell memories damaged him to the point where basic kicks affect queen?
And queen was KO ed while he was in mid air
The funny part is that you clearly didn't both to actually read the chapter