For your lawyer to be awarded assessed fees in a case that goes to court means that the insurance company's defense of your case was UNREASONABLE. This means that the case was defended without any reasonable grounds. In other words, the insurance company had no basis for resisting your case at all. How do they overcome that burden of unreasonableness? They go find a doctor who says “no” when your treating doctor says “yes”. It is truly that simple.
Therefore, there is little chance that you will be relieved of the obligation to pay your lawyer's fees.