As therobotswarnedme mentions: this is indeed intentional. A third party is not allowed to occupy any territory of a revolt if you are to end the war. Removing their occupation and occupying these counties for yourself will allow you to do end the war as usual.