The nine justices heard the potentially catastrophic case.