Your examples are all specifically about the ECHR (which legally is totally separate from the EU), but there are many other courts, both national and at the EU level, whose rulings regularly are enforced in member states, even against governments. The German Supreme Court overturned the government budget last year, throwing a massive wrench in the plans of the ruling coalition, for example.
The comparison with China is simply ridiculous.