To be clear, this is in context of the Court finding that racial gerrymandering is unconstitutional.
The Court here found that the state court's efforts to tailor districts around race were likely in violation of that.
Yes, the topic of racial gerrymandering in the US is a mess. At the least we need to be clear about what judicial orders actually say.