I'm still confused. Given your statement that "Primary Parent Category" is at the top of the list.
Let CategoryB.PrimaryParentCategory=CategoryA. Yet, ofbiz allows me to, via rollup, configure CategoryA to have multiple parent categories as well as multiple child categories.
I think my understanding is missing something?