What was the Supreme Court decision in the 1896 Plesst v. Ferguson case

A the declaration of independence implies that Americans should be united
B people must be considered equal under the law
C segregation should be a matter for states to decide ,not the federal government
D segregation is permitted as long as equal facilities are provided for both white and African-American people

D segregation is permitted as long as equal facilities are provided for both white and African-American people