A certain critical density property for invariant Harnack inequalities in H-type groups