Another way of expressing "morally wrong" ideas
Solution 1:
"Morally dubious" would convey your meaning well. It carries the idea that someone could think the course of action might be defensible if they try hard enough but really it is not what a decent person would do.
It's very similar to @Miike's 'morally-questionable' but seems a little stronger in its condemnation to me.