Secret diplomatic message deciphered after 350 years