Van Marteville, Lodewijk, Dutch diplomatist