In a racial context, dark
References to gorillas, chimps and monkeys are unacceptable in a racial context.
There’s no blanket ban on references to other primates. PSHE resources about our ‘inner chimp’ are not offensive, as you implied.
You have accepted that there was no racial context here, and yet you keep bringing up racism as if the prohibition should apply even when there is no racial context.
If you said something like ‘best not to compare people to chimps when you are unaware of their ethnicity’, then there would probably be agreement.