Spanish port. This would be correct for the book The Far Side  of the World (set in 1812), when the Spanish were allies of  Britain. However, the movie is set in 1805, when the Spanish were  allies of France, so sending a recently captured ship to an enemy  port would unadvisable.