Insurance will still revive you if you are a criminal to the Corporate Hierarchy. This is a little weird, because you can be revived from being imprisoned, and then dock and be imprisoned again - and since Clavius Insurance is a Corporate entity, they should be on board with locking you up.

Possible solutions:
1. Clear insurance status in the global intCorporateCrime with (typSetGlobalData &stInsuranceCompany; "insured" Nil)

2. Clear insurance status in &dsCorporateImprison;. This means the player would still be revived unless they're imprisoned.

george moromisato 18 May 2018:

Fixed in 1.8 Beta 2. If you dock after committing a corporate crime:

  • Insurance saves you (by paying off the victims).
  • The corporate crime is wiped away (and Corporate cruiser is called off)
  • You can't ever get insurance again.