When is an Exoplanet not really a planet? When it's PSR J2322-2650b
It might be the remnant of the primary's much smaller companion, a red dwarf star with much of itself blasted away while it's primary was in it's violent giant and supernova phase.
Amazingly a nubbin of the Companion can survive all that and be classed as a 'planet' rather than a 'star', at least that's how I understand it from this article.
https://www.astronomy.com/science/jwst-discovers-a-strange-exoplanet-that-orbits-a-pulsar/