A district attorney fielded increasingly skeptical questions from Georgia Supreme Court justices Tuesday as they considered whether a state law creates an “unacceptable risk” of carrying out an unconstitutional death sentence.

At issue was whether inmates who are intellectually disabled may be executed, which the U.S. Supreme Court held in 2002 violates the Eighth Amendment’s guarantee against cruel and unusual punishment.