This was the Great Hanoi Rat Massacre of 1902.
French officials wanted a lifestyle more like home, including flush toilets.
So they built a sewer system. It was a perfect breeding ground for rats.
Now, Hanoi had a rat problem.
They hired exterminators, but it wasn't enough. So they offered a bounty to anyone who would kill a rat and bring in the severed tail as proof. It was much easier for them to dispose of a collection of rat tails instead of entire rat carcasses.
The locals quickly figured out that you could remove a rat's tail without killing it, and send it back into the sewers to breed more rats with fresh young tails.
https://www.atlasobscura.com/articles/hanoi-rat-massacre-190...
https://en.wikipedia.org/wiki/Great_Hanoi_Rat_Massacre
Here is an article that ties together the rat massacre, the cobra effect, factory workers' gloves, overtime pay, and heat-based bonuses:
https://www.corporate-rebels.com/blog/leaders-rules