Sitting behind a sweeping podium made of African mahogany in the domed, skylighted courtroom, the justices peppered lawyers on both sides with questions about the numbers and methods used in the studies, two of which were ordered by the court itself.