Beijing taps into anti-West resentment to counter UN report