Kuma is a WG agent, that fact didn't change.
all along we thought that scene had hidden meaning that Kuma was serious when he arrived to take Luffy to prison and that Zoro and the crew are the ones that changed Kuma’s mind not to kill Luffy…
No, turns out Kuma was just pranking then and was lying the whole time about supposedly turning Luffy over to the Gov