It’s the time of year when may law firm managers are fretting about collections—and maybe even thinking of taking clients to court over unpaid bills.

But while suing ex-clients to recover legal fees has become increasingly common, recent court decisions show that such lawsuits can be a gamble.