Hamilton travelled to France as a diplomat and in September 1538 brought back letters from Francis I of France co-signed by the secretary Florimond Robertet, showing that Francis was mindful of the 1517 Treaty of Rouen and would persuade the Duke of Albany to give up Dunbar Castle and would try to prevent Albany's return to Scotland.