The "legal" part is what's probably the most important question. Is it really legal? Or is it legal, so long as it has not been disclosed and made illegal by general public outcry?
Sounds too much like "not caught, not a criminal" philosophy.
This is what legal positivism ends up turning into: anything is legal as long as there is a "law" allowing it. The fact that said law may be -f.e.- unconstitutional has nothing to do with the 'legality' of the act. Only when -if- a superior entity (the SCOTUS in this case) deems the 'law' unconstitutional does the act become 'illegal.'
Perhaps if one becomes comfortable with the idea that all illegal acts are immoral, it's possible to trick yourself into thinking that all legal acts are by definition moral.