It was the Cobra Effect in India that I was thinking of. https://en.wikipedia.org/wiki/Perverse_incentive