Details revealed in court show the persistence, cynicism and devious tactics used by the former chief executive.