BMW used a lot of these Bosch style connectors on their cars during the 80s and 90s. Below are a 5-pin female and 2-pin male style.
Unfortunately, they decided to permanently lock the connectors which prevents them from being de-pinned. Let me show you what I mean.
Circled in red you can see where they heated up the connector and pressed down into the cavity where the wires are. This prevents the wire from being evacuated. Even if you have the correct de-pinning tool, the wire will get stuck and not back-out all they way.
Here you can see where that little nub is.
The best fix for this is to replace the connector entirely. The connectors I sell are not locked. I also sell a de-pin tool that will work on the connectors I sell.