Hello this is the proper answer for your question.
In some instances, social workers believe that actions the law permits or requires would violate ethical standards in social work or actions that would violate the law are necessary to comply with ethical standards in the profession.
Signed, Frequent Answerer Sargedog