Mr Justice Foskett, sitting at the High Court in London today, said that "characterising such a scheme as involving or being analogous to 'slavery' or 'forced labour' seems to me to be a long way from contemporary thinking".
He said that both of the claimants were entitled to a declaration that there had been breaches of the 2011 jobseeker's allowance regulations in their cases.
But he ruled that the mistakes did not invalidate the 2011 jobseeker's allowance regulations, nor did they breach human rights laws banning slavery.
More top news
The Prime Minister will meet fellow world leaders including Donald Trump at the gathering.
The weekend will see plenty of sunshine across most of the UK.
A BBQ bank holiday weekend