I tried Kimi K3, Qwen3.6 35B A3B, GLM 5.2 and Qwen3.7 Plus, chosen arbitrarily from Chinese models I could access quickly. I used your prompt exactly, and all 4 managed to produce correct functions all with the correct name. Interestingly, Kimi K3 wrote one in both C and Python, Qwen 3.6 chose Python, GLM 5.2 also chose Python, and Qwen3.7 decided to be an over-achiever and wrote functions in Python, C++, Java, and TypeScript. All correct and with the correct names.
This is one of the advantages of being an open weights model.
But in both cases, eventually uncensored variants were published, even if it took more time than for other models.
They typically contain in their names words like -abliterated or -uncensored.
For some of the recent bigger Chinese LLMs, it took a longer time until someone succeeded to remove the censorship, but eventually uncensored variants were published.
E.g. for Kimi 2.6 an uncensored variant appeared only a couple weeks ago.
None of the Western models have any issue discussing the Middle-East conflict from all sides.
I'd wager you have never tried this.