Frequently, when asking a question about whether something is allowed, or guaranteed to work. The answers can be split up in two categories:
Explanations, containing the reason something is or isn't allowed.
Alternative solutions, stating the approach is illegal, or bad practice. And offering a solution.
Ideally of course an answer contains both. But more often than not this does not happen. In that case, what should I do?
Change, or request a change to either of the answers so they contain both the explanation and an alternative.
Accept the explanation. This is technically the best answer.
Accept the alternative. Although this might not be a direct answer to the question. However, the better alternative is at least as, if not more relevant, than the explanation. Since this is the bit you need trying to avoid doing illegal things and avoid bad practices.
Change the question to include the explanation why something is illegal and ask for an alternative. And accept the alternative.
For reference, this question illustrates my dilemma quite well.