When I removed my trim for paint I was told it was near impossible to do so without ruining the plastic retaining clips under the glass.
I was sucessful in doing both, removing without any damage to the trim or clips and reinstalling the trim.
If you use some sort of small pry tool and work slowly ( 10 minutes ) . I used a screwdriver.
Slide the top trim piece that spans both to one side or the other.
Gently lift the trim over the first plastic clip.
It you carefully rock the trim back and forth it will pop off each clip without damage.
Before putting the trims back on the car, I cleaned them with 0000 steel wool and bent the trim to better fit on the plastic clips. It fits better now than it did before
It's all about taking your time on this one
KT