Because corsairs gained a swashbuckling reputation, the word corsair is also used generically as a more romantic or flamboyant way of referring to privateers, or even to pirates.
It makes a joyful noise, it swims in pretty tunes and its dramatic rhetoric allows (or even requires) a soloist to make a grand, swashbuckling impression.