The truth is that a pirate romance can take place at any time. You'll find that many are in the regency era, though many also take place in medieval times or royal time periods.