Question about level 3 ethics

Hello,
I have a question about the role of compliance officer in asset manager code.
The code D4 states that the compliance officer should be independent from investment personnel and operations personnel, where possible.
Does the operations personnel exclude risk management? If so, does this mean the compliance officer can assume a role of any risk management personnel, including chief risk officer?
I don’t think the code is clear on this concept.