I think he is a celestial dragon. His back ground storyline being similar to Sabo. Escaping his celestial dragon family like Sabo did his noble family and getting picked up by Roger/Dragon.
So the higher ups still consider him a "CD" dispite being a Pirate. So he is pretty much free to do whatever he wants in the world his ancestors created. That includes being a Pirate.