While the State Immunity Act protects foreign states from legal claims, the Justice for Victims of Terrorism Act provides an exception in cases where the losses are caused by terrorist activity, the ruling said. The lawsuit was filed last year by four people whose loved ones were killed in the attack.