Explanation
Education is devolved, so the Scottish Parliament can pass laws governing Scottish education. Immigration, defence and national security remain reserved to the UK authorities, rather than forming part of the Parliament's ordinary devolved responsibilities.