i'm not sure if CoC is related to lineage factor, but we can see that some behaviors from sanji's siblings are products of judges modifications, like the inability to disobey judge's orders, the lack of emotions, leadership... so i believe that what judge called "royal pride" can also be include in that category, which sanji obviously lacked in his childhood, although he's growing to develop some of them in his adulthood, diable jambe at the age of 19, now he's 21/22 he might develop something new, compared to his siblings that were fully developed before 10.
judge's intent for the four twins was for each one of them to command an army, that might hint to the fact that leadership qualities are related in a major way to the lineage factor, but i doubt CoC and haki in general follows the same formula, because it's completely spiritual (imo), though if one of sanji's brothers showcased CoC i'll might need to reconsider.