The White House called the Supreme Court ruling “an affront to terrorism victims everywhere”.