Do a forum search on Hart's case- there's a lot in there.
That case was disallowed (I think) because it was ruled to be a tax avoidance scheme. There was no other economic reason for the structure.
But if there is a reason for the structure other than minimising tax then it may be allowable...