Sport mirrors how do you pull them apart for painting?

Tape it, paint it, and forget it.
Yeah, I'm thinking the drivers side I have works well, so I can probably get away with careful masking and stripping, but the passenger side is loose as a goose, and its very different construction to the remote. I'm guessing the ball joint stud screws into the housing before the mirror glass is glued in? So unless it's possible to turn with curved fine nose pliers, I will have to somehow get the glass out without damaging....dam I remember breaking the glass doing the same thing 30 odd years ago when I was 15 with my first car, luckily dad knew someone that cut me a new piece. Will heat soften the glue? or something else?