When I pulled the original top off my 99 I didn’t remove the micro switch, just left it in place, my understanding is that the tops from a 97-99 have an additional finger on the frame that trips the switch on the B pillar to let the car know that the top is up. In 2000 Porsche change the design to incorporate this switch in the drivers top transmission, that is when I had to replace my top transmissions and do the additional wiring when I changed to a 2003 top. In your case with a 97 model year you should just be able to remove the top with out removing the micro switch and bolt the new 99 top on,
If the top does not just pull back with the 6 bolts removed, I have seen a write up where there could also be a Phelps screw on each side, they were not there in my case. Check out the article about top replacements
https://sites.google.com/site/mikefocke2/installinga03-04glasstopandframeona97
This should help