Just tried it and no. The county left my realm rather than the duchy joining it. So it seems I have to give him a title that is equivalent or higher to the one he's inheriting for him to become part of my realm.
So if I were an Emperor, say, and I was supporting a vassal in their claim for a Kingdom, I'd have to give them another Kingdom for them to become part of my realm? That seems...excessive.