As previously explained, if the head noun can fill the case-slot of the main verb of the relative clause, the RCC instance can be judged as an 'inner' clause.
if the case-slot that the head noun can fill is already filled by the noun in the relative clause, and hence unavailable for case-slot gapping, the rule cannot be applied.