Many places have deep histories and convoluted legal practices, which from an outside perspective gets dismissed as corruption, but internally it is considered due process
The idea that rule of law basically doesn't exist and isn't the method of choice in perpetuating a circumstance in "these other corrupt countries" is overly broad and often inaccurate
Its just that the observation goes both ways