Found an excellent thread from 10 years ago describing what to do:
http://www.volvo300mania.com/uk/forum/v ... =56&t=9808
OK, so a bit more inspection showed the connector to be quite badly toasted, but not as bad as the one in the above thread. After squirting it with tons of contact cleaner, I decided to try and remove the old female connection pin from the block and, with a bit of destruction, it came out reasonably easily but clearly had been broken in several places prior to removal.
The old pin, which I cut off its yellow wire, can be seen in the above photo next to the one I intend to replace it with. The local spares shop didn't have that pin so I had to remove one with the same thickness of wire from an old connection block in the roof (some of my collection is shown). The plan is to join the yellow wire on the new connector with the original yellow wire on the car with a crimp connector and pop the new pin into the old block. Should be amusing.
I did ask in the shop if they had any proper connection block dismantling tools but he didn't have any in stock, alas, and said that he could only get them from Laser and would therefore be expensive! However, with a bit of brain-aching I was able to locate a broken Poundland mobile phone stylus with exactly the right diameter to do the job (shown above), and after testing it on several of the wires I can confirm that it works. Its the smallest diameter tube of this sort:
http://lwsgadget.blogspot.com/2011/07/p ... phone.html
I haven't seen that sort in the shops lately and I was a bit sad when it broke because (contrary to the above review) I found it to be excellent! Anyhow, great that it (or rather, half of it) now has a second life.