By blocking VPNs, Tim Cook is helping to ban all gay content.
[1] http://fortune.com/2017/06/30/china-homosexuality-internet-w...
"The law is the law" is a very simplistic way of looking at things.
Laws can be challenged in court. Google is doing that with a Canadian law right now[1].
Laws can be found unconstitutional. Laws can be overturned. Laws can be repealed.
Laws can be unenforced. For example smoking weed in Colorado. A simple "the law is the law" outlook might conclude that it's illegal to sell weed in Colorado, and any business doing so "will simply be subjected to massive damage".
Laws can be interpreted and misinterpreted by judges, lawyers, prosecutors, etc. Smart people can disagree about what a law means. Some interpretations say anyone under 13 who reads the New York Times website is a criminal under the CFAA[2].
Some people argue that the average person commits 3 felonies a day[3].
[1] https://arstechnica.com/tech-policy/2017/07/google-sues-in-u...
[2] https://www.eff.org/deeplinks/2013/04/are-you-teenager-who-r...
[3] https://www.amazon.com/Three-Felonies-Day-Target-Innocent/dp...
none of these other details are particularly relevant to obeying the law when it is in effect.
Apple should obey every old illogical law from 200 years ago that's never enforced, and is actually harmful if followed?
Many of the other details are relevant as well. Apple could obey the law and challenge it, like Google is doing with the Canadian law.
Same thing is happening in Russia for example with corruption. A lot of new people who come work in higher positions just could not go agains the corrupted system, if someone that has control over their position tells them to do something, they will do it because otherwise they will be end up with no job and money. Those who speak up without worrying about their lost revenue are the real heros, not Tim Cook who was made look like one with his recent announcements
Expensive options are not the only way to solve this dilemma. They could simply amend their position on free expression to explain why this is an exception. Such an explanation might not even reflect badly on them.
[1] - https://9to5mac.com/2017/04/18/tim-cook-free-expression-awar...