He cemented a peace treaty with England by marrying Margaret Tudor, the daughter of Henry VII the so-called Marriage of the Thistle and the Rose but this did not prevent him from making a raid into England in 1513.
There existed a peace treaty with England at some point in history.