There must be trace of that at the Customs and borders controls, so there is still a risk they find out they have been out of Spain that long and cancel their cards.

Once in Spain, they can apply for the renewals and see what happens.

Regards,