Due to inconsistency in the green/white signage on some roads, highway=trunk in Scotland uses the Transport Scotland trunk road list which is reflected in OSM here. 
https://www.transport.gov.scot/media/50550/official-list-of-trunk-roads-1-november-2021.pdf
https://www.traffic.gov.scot/trunk-roads