The Court of Session may, on an application made by the Scottish Ministers or the Lord Advocate, extend the determination period if satisfied that—
The application must be made before the determination period would otherwise end.
An extension of the determination period must end no later than the end of the period of 63 days beginning with the day after that on which the period would otherwise end.
Where the period is extended under subsection (1), it may be further extended by the Court of Session (and subsections (2) and (3) apply in relation to any further extension as they apply in relation to the first one).
But the determination period as extended must not exceed the period of 186 days starting with the day of compliance (within the meaning given by section 396D(8)(b)).