If it has not already been withdrawn by the United Kingdom, a designated derogation ceases to have effect for the purposes of this Act—
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . ., at the end of the period of five years beginning with the date on which the order designating it was made.
At any time before the period—
comes to an end, the Secretary of State may by order extend it by a further period of five years.
An order under section 14(1) . . . ceases to have effect at the end of the period for consideration, unless a resolution has been passed by each House approving the order.
Subsection (3) does not affect—
In subsection (3) "period for consideration" means the period of forty days beginning with the day on which the order was made.
In calculating the period for consideration, no account is to be taken of any time during which—
If a designated derogation is withdrawn by the United Kingdom, the Secretary of State must by order make such amendments to this Act as he considers are required to reflect that withdrawal.