The attorney general of the state is the legal counsel for the plan and shall advise the administrator and represent the plan in a legal proceeding.