What should we do on this SE in regards to answers that suggest potentially criminal actions?
For example, on the recent question How to make a friend stop joking about (non-existing) relationship between other friend and me? one of the answers suggests covertly recording a private conversation. In many jurisdictions, such an action can be a criminal offense, including in the jurisdiction of the person asking the question in this case.
In this particular instance, the OP was in Germany, which has the following law:
Section 201 Violation of the Confidentiality of the Spoken Word
(1) Whoever, without authorization:
makes an audio recording of the privately spoken words of another; or
uses, or makes a recording thus produced accessible to a third party,
shall be punished with imprisonment for not more than three years or a fine.
In this particular situation, another user left the comment:
I am not an expert on this by any means, but secretly recording John may be illegal and could get the OP into trouble.
which seems appropriate enough and had some upvotes, though the answerer then responded:
You're right, you are not an expert. Unless in specific cases where you are dealing with sensitive information there is nothing illegal about recording someone when you are party to the conversation especially when it is for the purpose of documenting someone harassing you as evidence to use in court or to give to HR.
Aside from the answerer's response being incorrect, the entire comment thread was moved to chat, where it might be missed by someone reading the answer.
In general, how should this be handled on this SE, assuming the answerer didn't include any sort of legal warning/disclaimer in the answer? Should we:
Flag to have a moderator attach a note to the answer with something along the lines of "You should consult a lawyer competent in the relevant jurisdiction before doing this?"
Only comment and downvote and hope the comments don't get moved to chat?
Edit the answer to include a warning without the answerer's permission?
Do nothing and allow the answer to remain as-is with suggestions for potentially criminal action?
Related: There is another meta thread concerning another answer where a potentially illegal action was suggested, though that meta didn't appear to reach any conclusion about what specifically to do about the suggestion of a potentially criminal action.