Legal personhood is much misunderstood. There is no grand set of rights attached to all persons. There are an infinite different types of persons, entities to which some rights are attached but never all. We in the west normally understand "persons" as in flesh-and-blood physical people but even then what rights a person has depends on all sorts of things, from the location of their birth, to their age, sex, mental capacity, education or wealth. And yes, race can still alter a person's rights under the law. What matters is not the "person" label but what rights this court is willing to recognize at attach to this new type of person.