There is no time limit for the carry-forward of these 'frozen' losses.
By allowing companies to reduce their corporate tax burden through loss carry-forward, Germany is foregoing revenue, which constitutes State aid.