If a deputy attorney general prosecutes a contested case for a regulatory body, he or she may not also act as legal counsel for the regulatory body when the regulatory body considers or makes decisions concerning the contested case.