Which company is prohibited from acquiring shares in the other?
The subsidiary company is the company that must not acquire or hold shares in the other company—its holding company. That is the direction of section 170(a). The question is not answered merely by calling businesses affiliates or members of a group: the relevant holding-company and subsidiary relationship must be established under section 251. If the holding company allots its shares to the subsidiary, section 170(b) separately states that the allotment is void and has no legal effect.
Companies Act, Section 170