Jackson Lewis was disqualified from a potentially big class action against Barnes & Noble last month, demonstrating the hidden risks of trying to gut class actions by settling with named plaintiffs.

Alameda County, Calif., Superior Court Judge Steven Brick acknowledged that ousting the firm was a “drastic” move, but indicated from the bench that it was necessary in this case.