Here is a rather recondite discussion of true sales and capital gains on those sales.  I am barred from commenting on the background of the case because of disclosure laws.