In a case brought by murderer Jeremy Bamber and two other killers, judges said such sentences had to be reviewed at some point.
To never have any possibility of parole was inhuman or degrading, they said.
The prime minister said he "profoundly disagrees". Justice Secretary Chris Grayling also criticised the ruling.
View: Read more