I’ve ended up by creating a new installation of WP, creating a new SQL database and then importing all the posts etc in from the old one, then removing the old one.
I was hoping for an actual solution rather than a work around, but never mind. I’ll leave this topic as not resolved in case anyone can post an actual answer. Hope it can help someone else out.