The Law Lords have ordered the government to reconsider control orders imposed on eight terrorism suspects.
But they did not declare the controversial anti-terrorism measure to be completely unlawful.
In rulings on six individuals, the Lords said control orders which included 18-hour curfews, restricting someone to their homes, were too long.