With another author he should have been killed already.
Wont happen with Oda.
On the other hand, Imu, or whoever else, might consider useful to have someone as him at this moment (with all the caos in the world), so he might be released with the condition that he works for them.