I try not to strive for more class than the likes of Mark Twain, Earnest Hemingway, Professor Radcliffe Emerson (AKA "Father of Curses"), John Wilmot, Dick Cavett, John Ruskin (Who is not Teddy Ruxpin's father), George Bernard Shaw, and John Maynard Keynes. Many of them not modern, not American, and (dare I say) certainly not boorish.
I'm certain there are many notable figures of impeccable class and style who eschew bawdy language. I posit that they would still be just as classy if they did not.
But if an occasionally libertine sense of vocabulary is what holds me back from ever higher levels of esteem in the eyes of others then so be it; lest, as Icarus, on the gilded wings of pride I should fly too close to the sun.
As an aside, the locals in that African village may have been shocked that they heard ~your people~ swear, but nothing your group could say would shock their sensibilities. Whether their native tongue is Swahili or Afrikaans ar ANY of the sub-saharan tribal languages, the ALL have and use some of the filthiest swear words you could imagine. It is common for children and grandparents alike to use vulgarisms that would make Trump's toupe fall off.
Edited to remove an arabic word that contains an English profanity. That one was pure coincidence, I'm doing my best to keep the filter happy.