Indonesia is well known for it’s malleable (corrupt) regulatory officials, which isn’t ideal for business.
You got it backwards, it’s absolutely ideal for business because the business owner can do whatever the fuck they want and get away with it (e.g. not disposing hazardous waste properly, misusing ground water extraction, etc). Things are improving and the government has been cracking hard on this in the past 10 years though.