That said, this episode perturbed me like none in this series has before. CJ is morally outraged at the sale of US arms to a repressive Middle Eastern country with poor women's rights--as CJ says, "they're beating the women." This type of plot is par for the course for the West Wing: a character notices a discrepancy between stated US goals (here, human rights) and reality (selling arms to states with poor human rights), and the episode progresses with the characters trying to resolve this distinction.
Here, though, things felt like a little too ridiculous. Arms sales are controversial, yes. And the way these repressive Middle Eastern countries treat women is anathema to American ideals. But tackling the intermingling of geopolitics and human rights was beyond the potential of this script. Trying to dilute international relations to a categorical imperative-based way of conducting diplomacy is ridiculous. As the national security adviser tells CJ, this country hosts an American base. That should be enough for CJ--a country that allows the forward deployment of the American military, especially in the Middle East, is very valuable to American interests. But CJ is so enraged that she insults some veterans visiting the White House and yells at characters for foreign policy decisions which are way, way beyond their purviews. Her anger is so over-the-top that it really felt like the writers just wanted to win an emmy for character performance, regardless of believability.
I'm no foreign policy expert, but this was just dumb. The way these countries treat women is rooted in centuries of religion and social practice. CJ compares the situation to apartheid in South Africa, which, yes, was successfully resolved due to international pressure. But apartheid was surface-level compared to the institutional history of women in the Middle East. The former was imposed by a minority of whites for about a half century. The latter is much, much more indigenous to the region. The writers really make CJ look naive in this episode.