I think these types of ships only go after trade routes of their enemies. If you're allied/neutral with the country responsible, then there's nothing to worry about.