They are not viewed as black.
Same as if you are an immigrant (legal) from Africa, you are not viewed as African American.
We have a lot of people from Nigeria, and they are hated by the local African Americans.