She respects anyone of rank, because she actually knows people's ranks. Like, when she met Jiraiya and knew he was a Sannin. Naruto, the town fool, was still clueless and continued calling him a pervert.