A few years ago, as an experiment I copy/pasted a small ship onto an asteroid, then deleted the rest of the asteroid.
It floated around like a ship, and everything worked (logic, lights, and plex doors) but there wasn't any power so weapons were unusable and no ship core. I had just made a derelict