Quarter Window latch replacement

i got a new set as mine are original and loose. My question is do I have to press out the pin holding it to the piece that sits behind the window? Similar to changing the e-brake handle