Remembrer, many Scots find their origin in France.
25 clans are of French and Normand origin.
One of my Grand mother was from the "De Bailleul" family, in Scotland the name changed to "Balliol".
So don't be surprised to see a French influence in Scottish spelling.