Soldering double deck pin headers
The plastic pieces can be removed. Press gently and uniformly and extract one of the pieces. Then solder the whole and place the plastic piece back.

You can use a bit of heat or lubricant, but very carefully and in the latter be assured that it has been completely removed before soldering the pins.