If, despite the repeal, a provision of the existing Act (the primary provision) is continued in effect for a purpose under this division, any other provision of the existing Act (a related provision) mentioned in the primary provision is also continued in effect to the extent necessary for the purposes of the continued application of the primary provision.