>> Mexico has been like that for decades.
Back in the 60's and 70's my Dad worked or Lockheed Martin. He made frequent trips to Mexico to work with engineering teams there on projects he was working on. It only took him one trip to realize how corrupt the police were.
He had parked outside of his hotel with his rental car. Came out. It was surrounded by Policia. They told him he couldn't park here. "Sure thing, I'll move it and not park here again." "You don't understand gringo, you have to pay the parking fine now." He caught on, and asked how much it would cost to just park here, you know, rent this spot instead of paying their fine? The cops gave him an amount and he paid it and they left him alone the rest of the week he was there. He told me a bunch of other stories about the corruption there, not just the cops. It was pretty eye opening to hear some of these.
The corruption can't be fixed. Its engrained in the system. It was rampant fifty years ago, there is no fixing it - its completely normalized now. The cartels simply used the system against itself to gain total control and power.