Discovered that if I export as a 2D graphic (dwg) and then import that, it has got rid of all the rubbish. All of the layer controls have gone, but I don't need those anyway. This method has the added bonus of truly flattening the file as well.