One of the reasons Honest John wants to keep the Indonesians on side is that they can cut the number of boat people to zero. It is far better politically to have illegal immigrants/asylum seekers/refugees stopped in Indonesia than have them get into Australian territorial waters.
If the Indos throw them in jail or send them back where they came from, nobody in Australia knows or cares. One can see why John want to keep the Indos happy.