The obvious, unspoken part is: what is legal now isn't guaranteed to be legal two seconds in the future, and likewise to what is illegal. The law gives you no guarantee of being ethical nor moral, it's simply a collection of behaviors either sanctioned or unsanctioned by the State.
As a clear example, you may tell me how much you love breathing in fresh air. If, tomorrow, breathing fresh air is made illegal, you've just shared with me a confession to a crime.