Former Free State spin doctor secondment as acting chief executive was 'unlawful'