Princess Beatrice's husband is an Italian count, so there is a title to hand on.
But the passing on of titles is something where being born in wedlock matters, so as he was not married to his son's mother, it's quite possible that the title will not pass to him, but to first legitimate child (or son, depending on what the general laws are in Italy, and any specific provisions for this specific title)