In the legal context, his remark was inappropriate. Giving advice of that sort in non-legal contexts, some might interprete it metaphorically rather than literally...i.e., make your resistance apparent more vigorously