Not just Carter, the Supreme Court too. After Congress made a law to specifically make the seizure legal, the bank challenged the constitutionality of changing laws to be interpreted against the bank only when applied to that bank’s seized Iranian linked account. The Court sided with the government 7-2.
https://en.wikipedia.org/wiki/Bank_Markazi_v._Peterson