The ruling hinges on the corporation and trust being treated as a single entity and meeting other requirements under Regs.