Amusingly, the Biden govt had no issues officially supporting the ICC to deliver a ruling against Russia despite the US not being a party to the ICC themselves. That's like having your cake and eating it too.
None of China, India, Russia, and the United States are parties to the ICC.