The article actually says it has been ruled "discriminatory", not unconstitutional. If it had been ruled unconstitutional, they would no longer be allowed to do it.
Quote:She [Judge Shira Scheindlin] did not order an end to the policy, but appointed an independent monitor to reform the practice.