Legal segregation and the black codes were not the same thing.
"Legal segregation and the black codes were not the same thing." Both were unconstitutional under the 13th, 14th and 15th Amendments and the Civil Rights Acts of 1866 and 1873.