I would say if the state brought the lawsuit against them, then yes, depending on the applicable law. But if they sued the state then no.
The liberal view will be that he is entitled for legal fees and even punitive damages, since he sued to overturn laws which liberals loathe.