Landmark court ruling favours consumers