Yeah, your right. That's the cold, hard, truth to owning planets. If you fortify them enough, you can prevent the enemy from taking it over, but at quite a high cost. Or, you leave the planet basically wide open, and just hope that if they attack, you can distract them by creating a bigger disturbance on one of their important systems.