First Spanish Republic
In modern times, the government of the First Spanish Republic, unable to reduce the Cantonal rebellion centered in Cartagena, Spain, declared the Cartagena fleet to be "piratic", which allowed any nation to prey on it.