according to the ruling in the Plessy v Ferguson case in why was segregation acceptable

a segregation was legal because African-Americans were not citizens
b segregation was legal as long as the facilities for blacks and whites were equal
c segregation was acceptable in private facilities only
d segregation was acceptable on state by state basis

B segregation was legal as long as the facilities for blacks and whites were equal.