In his ruling, Lord Justice Pill said the Poundland work scheme case raised a question of "statutory construction".
He said the challenge was to the lawfulness of the 2011 Government regulations made by Ian Duncan Smith, Secretary of State for Work and Pensions, under sections of the Jobseekers Act 1995.
The judge said he was "unable to conclude that the statutory requirement for the regulations to make provision" for back-to-work schemes "of a prescribed description" had been met.
He ruled: "The statutory requirement is that the prescribed description is in the regulation."
Declaring the regulations unlawful, the judge said they must be quashed since their central purpose was to impose "requirements" on jobseeker allowance claimants and sanctions for failing to comply.
More top news
The first victim of the Manchester bombing has been named as Georgina Callander, a student from Lancashire.
A 23-year-old man has been arrested in connection with the attack at Manchester Arena last night.
Theresa May says police think they know identity of lone bomber as she contrasts "warped" terrorist with courageous emergency services.