Original sentence: "If ethics and business are to be viewed as inextricably linked, management must play an important role in this process, ensuring that a company follows an ethical code of conduct"
(1) [...] management must play an important role in this process and must ensure that a company follows an ethical code of conduct
(2) [...] management must play an important role in this process which ensures that a company follows an ethical code of conduct
Does "ensuring" refer to the management who must ensure that ... (1) or does it refer to the process which needs to ensure that ... (2)?
I know that sentences like: "I see a men who is walking on the road" could be transferred to "I see a men walking on the road". However, I see often this construct above which is not easy to distinguish as an English learner. What is the rule behind it?
Thanks in advance!