Law courts in Scotland are a unique part of the British legal framework.