scotlands crown was not established in 1066  it was established under Kenneth MacAlpine 843AD 
we had a crown and constitution codified for over 1000 years 🏴󠁧󠁢󠁳󠁣󠁴󠁿👑 so they time of the treaty we had our own constitution and crown