Could Picard use Data’s collected memories to create a holodeck version of him to discuss things with? It might explain the uniform, as it would match with Data’s last “memories” of himself and likely be what the program uses to reconstruct himself. You’d have to ask, how self aware a holodeck “Data” would be.