Haines, AK voted to consolidate the city with its borough in 2002. They officially took the name of Haines borough. I presume that the Census chose to recognize a CDP for Haines within the borough.
Yakutat consolidated in 1992, but seems to be treated the same way. However, the official website for Yakutat calls itself the City and Borough of Yakutat, and the Census uses that name for the borough. Even the borough code calls it the City and Borough of Yakutat. Why does the Census have a Yakutat CDP, but not a place called the city and borough of Yakutat?