The attorney general shall provide legal advice and representation in connection with any matter relating to the powers, duties, and operation of the office, and in any legal action brought against the ombudsman or an employee, volunteer, or other representative of the office. If the attorney general cannot provide legal advice or representation because of a conflict of interest, the ombudsman may employ private legal counsel.