the main objective of this declaration was to deal with the pirates issue