Lol at you believing courts or judges don't follow their countries dictates. Most of the time such cases would be routed to a judge that will do what is asked without making any noise.
https://www.npr.org/2024/10/21/g-s1-28919/supreme-court-judg...
https://www.brennancenter.org/our-work/research-reports/judg...
https://news.northeastern.edu/2025/03/27/judge-shopping-expl...
Which is part of the reason why the Netherlands is not a superpower.
Can you name any country that has ever been a superpower where judges (of the national judiciary if it has separate judiciaries for constituent parts from the national one) were predominantly democratically elected?