CG40250 | Capital loss anti-avoidance rule: Company to which tax advantage arises
From HM Revenue & Customs · Capital Gains Manual
The legislation also prevents abuse involving, for example, the transfer of assets within a group, and so applies where the tax advantage would otherwise ultimately have arisen to another company.