The key point is that earnings cannot be simultaneously paid out in dividends and invested in future profits.
It is not allowed for the funds to be used for both today and for subsequent dates.
They had no problem with double dipping.