CTM80415 | Groups: group relief: avoidance
From HM Revenue & Customs · Company Taxation Manual
CTA10/Part 15
The provisions of CTA10/S731 to S751 inclusive (cancellation of advantages from certain transactions in securities) apply to group relief.
There is guidance about this at CTM36800 onwards.