IMHO the idea of taking China to court for this is absurd.
The virus arose and spread because China is a big country that is developing rapidly and unevenly. There are many people living 'Western-style' lives with lots of money in big cities, and travelling around the world. At the same time there are poor peasant communities living almost medieval lives. This is why you have people eating infected bats (or whatever) and also why the virus can spread. You can't blame China for this.
Where China
is at fault is its initial suppression of whistle-blowers and that period of inactivity that followed, which allowed the start of the spread. But after this, once they acknowledged the problem, China's response was strong, lightning-fast and I would say exemplary. This is why all (or certainly most, depending on the accuracy of official figures) of China's new cases are from people entering the country. I don't think China can be criticised too harshly for failing to anticipate how this situation would evolve globally. There is no precedent in living memory. SARS and MERS are closest, but did not spread anything like as much as CV-19.
I think a lot of other countries, particularly here in Europe,
are at fault. They saw what happened in China, and decided not to implement immediate lockdowns and quarantining. They gambled not to take the short-term economic hit - they gambled with the lives of their citizens, and lost. Now it is too late, they have put the lockdowns in place, but the economic damage is huge and people are dying. I'm sure that this will be brought under control, but nothing hides the fact that the West acted too slowly. They had the example of China right there in front of them, and did nothing until much too late.
If any country tries to take China to court, then they would be doing so purely in an attempt to mask their own failings.