Here's an example of a sane court ruling, with a detailed explanation for why: https://www.bbc.com/news/business-56123668 . Unfortunately US courts seem to pay too much attention to the form of of their business arrangements and not enough to the substance.