If determiners and modifiers agree both with head nouns, head nouns do not agree with attributive nouns, and vice versa.
Standardized
IF determiners and modifiers both agree with head nouns, THEN head nouns do not agree with attributive nouns. IF head nouns do not agree with attributive nouns, THEN both determiners and modifiers agree with head nouns.