Which are members voluntarily, and are enforcing whatever law they want on their own, national territory; not outside of it.
> Since the US considers the ICC a serious threat to sovereignty
Again: Fact is, the ICC is writing policy recommendations. Member states decided to adopt/agree with them, and enforce them on their own territory. It is a US invention to claim this a threat to the US national sovereignty. Nobody is arguing to enforce ICC rulings on United States territory.
> Making friends is not really the end goal of foreign policy.
You can claim that it isn't, OK. But I don't get how you can write it as if that was a hard fact. You make it sound as if that was a universal definition, which it isn't. Nobody, and no country (as in "the sum of its citizens"), likes it when others enter their boundaries and act like they have permission to make or enforce rules there without a contract/agreement. It's fine if you don't like the friend/enemy wording. It still is a hostile act.