If Oda was an American comic creator, he'd get cancelled to hell and back in this current climate lol.
I think Japanese humor is different, you can write perversion in anime/manga/tv because that's the norm. Sanji isn't the 1st chivalrous perv. Even though it influenced the plot on FI, people still see it as a gag so it lessens the offense.