A "ground-breaking" Court of Appeal judgement removes the protection previously given to thousands of people in divorce proceedings.