Well, if the ER of the planet is not between 1 and 2 it will make debt regardless of everything else, I believe. If oyu just want to stop it, just set it open to crewlist, and that will shut down its FI ability, both positive and negative incomes.
Do banks need to be owned by a banking faction to get fi?
Casinos need to be owned by a tradings faction to gain fi. As well as starports & some others?