The functions mentioned in subsection (2) shall, so far as they are exercisable within devolved competence, be exercisable by the Scottish Ministers instead of by a Minister of the Crown.
Those functions are—
but do not include any retained functions of the Lord Advocate.
In this Act, "pre-commencement enactment" means—
But see sections 9, 32 and 51 of the Scotland Act 2016 (which give "pre-commencement enactment" a different meaning for functions exercisable within devolved competence by virtue of certain provisions of that Act).
This section and section 54 are modified by Part III of Schedule 4.