First, your history research on this is excellent and to be commended.
Second, didn't William Shatner star in a short-lived TV series about the Barbary Pirates?.... Or am I thinking of some other short-lived show in the 70s? ;-)
Sorry I don't remember it. I believe there was either a tv program or a movie called the "Barbary Coast".