(bold added)
Schedule 5, Part 1, of the Scotland Act 1998 contains the following reservation (and exception) -
7(1) International relations, including relations with territories outside the United Kingdom, the European Union (and their institutions) and other international organisations, regulation of international trade, and international development assistance and co-operation are reserved matters.
(2) Sub-paragraph (1) does not reserve—
(a) observing and implementing international obligations, obligations under the Human Rights Convention and obligations under EU law,
(b) assisting Ministers of the Crown in relation to any matter to which that sub-paragraph applies.