You've misunderstood what I said... the important thing is to write the story, not to write to specifically to offend. Writers must write the truth of their characters.
If I start deciding what I can and can't write based on what other people find offensive, I quickly fall down a rabbit hole. People get offended by everything.
For example.... should I write about child abuse? There are people who may find that offensive. There are people who may find it something that should be discussed. Should more weight be given to people who have been abused? Do we do a poll to work out who is offended and by how much, do we then weigh this against their lived experience?
Or is my job simply to write the truth of that situation? To research it to the best of my ability and to write the characters involved as truthfully as possible? If I do that, I may have a powerful piece of drama that raises the profile of child abuse.
In answer to your question, I don't know what offends rape victims. They arent a homogenous bunch of people. Some of them may be offended by seeing rape portrayed on screen. Some may be offended by seeing rapists get away with it in a courtroom scene. Some may be offended by offhand remarks made by characters outside of the situation. I can't know and I shouldn't try and work it out before I start wrting.
When there are dictats that indicate what can and can't be written - you're caught in a race to the subjective lowest common denomiator. If I told you that your response to my comment offended me, are you obligated to remove it? Or do you simply say 'I don't believe you' and stand by your work?
Writing to offend is a different matter. I think if you have an 'offend everyone' approach a la Family Guy or South Park - then I don't have a problem. Deliberately targetting a given group or a specific person is a bit more problematic and a little less defensible.