The best way of doing this /safetest without buring your headlights is using a head gun and heat up the seal and pry open the headlights slowly.
Also the best way to re-seal them is to heat gun it again and remove all the gunk, then use new sealant to re-seal the headlights.
Tons of honda guys do it and other guys with older cars, the lenses tend to haze and then people polish the plastic.