As for your question, there are separate legal systems for Scotland and England. Justice, ie law, is completely devolved power so all legal matters are handled by the Scottish parliament with no input from the UK government. I'm can't think of an example but I'm sure there are some caveats to that.