Leaked legal advice reveals the party was warned about costs over the dismissal of a former senior employee.