The attorney general shall act as attorney for the commissioner in any proceeding to which the commissioner is a party on behalf of the fund.