They are not being penalised whatsoever, they have completely misunderstood the system and the reason for their refusal.
They applied for Jobseekers benefit..a non means tested benefit in which the lump sum would have no bearing. They did not qualify as they are not available for or seeking work. If they applied for Jobseekers Allowance, the first 20k would have been disregarded, and the second 20k would have reduced their weekly payment by 20 euro. They are not entitled to JA though as not seeking work.
The money is a total red herring. They were denied for not meeting basic criteria, you cannot get any unemployment benefits if you have chosen not to work.