The Inspector General shall be deemed to be a department head for the purpose of Section 11189 of the Government Code in connection with any investigation or audit conducted pursuant to this chapter. The Inspector General shall have authority to hire or retain counsel to provide confidential advice during audits and investigations. If the Attorney General has a conflict of interest in representing the Inspector General in any litigation, the Inspector General shall have authority to hire or retain counsel to represent the Inspector General.