But the example in the article is clearly unethical based on the client's requirements alone - it doesn't take an ethicist to see that.
In fact, a world where companies are so very ethical it takes a professional ethicist to spot unethical practices sounds nearly like a utopia.
https://www.acm.org/code-of-ethics/case-studies