@ton Yes — always keep in mind that as software engineer you are the last line of defense. If you implement it, it is in the world. Your decision whether to build something or not decides how the world changes — however small that might seem.
The ethicist should have the job to be there so software engineers can ask questions: “what will happen if we do it this way” (and receive answers) — but not “is it OK to do it this way?”