‘A gilded cage is still a cage’ — the Supreme Court determines the question of what is a deprivation of liberty