Or just be rank 5 with the Kumo. All fines and bounties are 0 and instantly forgiven once you leave*
*inside his territory. Terms and conditions apply.
Yeah true it might be at some situations better to just go through rebuy screen if it is cheap enough and missions are not that heavy fined, too much cargo lost or reputation loss too bad, than bother to fly back from detention facility or try find IF especially if at edges of bubble and detention centers ("prisons") thus far away.