...Or use fancy materials that trigger a destructive cascade reaction within the planet when subjected to enough initial heat or pressure from the impact. Like dilithium in the planet in the ENT Romulan War novels, or (in a reverse of that, sort of) a suitably "catalyzing" exotic substance aboard the ramming ship in the novel
Great Starship Race by Diane Carey.
Timo Saloniemi