In 1756, upon the judicial sale of the late James Naesmith's property, the Earl of Selkirk agreed not to bid against Naesmith's son, Robert, for the estate of Glenley. This was in exchange for future right of first offer. In 1762, Robert Naesmith expressed his intention to sell Glenley. For the next ten years Selkirk periodically lent Naesmith money that was understood to be deducted from the final price of Glenley. In 1772, shortly after Naesmith and Selkirk agreed upon two arbiters to decide on a price for Glenley, Naesmith died with his affairs in disorder. Robert Naesmith's son, Robert, brought his father's lands to a judicial sale, but a few days before it was to take place, Selkirk petitioned the Court to have Glenley struck from it. He argued that he and Robert Naesmith's had completed a bargain. Robert Naesmith, James Naesmith (brother to the late Naesmith), and other creditors of the late Robert Naesmith, then petitioned the Court to refuse this request. After the Court ruled in favor of Selkirk, James Naesmith petitioned the Court to strike an Edinburgh dwelling-house, of which he claimed to be the rightful owner, from the sale. The Court ruled in his favor. Other creditors of Naesmith and Selkirk then asked the Court to adjudicate on various issues related to the final price of Glenley.
William Morison, The Decisions of the Court of Session (1811), pg. 627, , pg. 14158
Sir David Dalyrymple of Hailes, Decisions of the Lords of Council and Session, from 1766 to 1791 (1826), pg. 780