to have two opposite effects or results
cut both / two ways
Definiciones del Oxford Advanced Learner's Dictionary, 9.ª edición