The Spanish working public was very reticent (and still is) to register when they are self employed (autonomos). Their unemployment figures also were screwed by their government's "Historical Memory" law which opened the floodgates to massive migration from Latin America.
Finally companies were notorious to "fix your papers" when firing temporary employees so these could claim states benefits and not lose their entitlement. Then they would rehire them the next season.
It was and still is all a sham. I could go on with the agricultural benefit system called the "PER". But if we in the UK have an entitlement culture then Spain is off the scale.