In this section "Scottish functions" means—
Subject to subsections (3) and (5), a provision of a pre-commencement enactment which—
shall cease to have effect in relation to any Scottish functions.
A provision of a pre-commencement enactment which—
shall have effect in relation to any Scottish functions as if it provided for the sum to be charged on the Scottish Consolidated Fund or required it to be paid out of that Fund without further approval or required or authorised it to be paid into that Fund (as the case may be).
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A provision of a pre-commencement enactment which authorises any sums to be applied as money provided by Parliament instead of being paid into the Consolidated Fund shall have effect in relation to any Scottish functions as if it authorised those sums to be applied as if they had been paid out of the Scottish Consolidated Fund in accordance with rules under section 65(1)(c) instead of being paid into that Fund.
Where a power to lend money under a pre-commencement enactment is exercisable by the Scottish Ministers, subsection (7) applies to any sums which, for the purpose or as the result of the exercise of the power, would be required (apart from that subsection)—
Those sums shall instead—
(as the case may be).