We played our first game last week and came across the situation wherein the rebels successfully attacked and held a system loyal to the empire. Unfortunately, they were not able to clear the Imperial Star Destroyer out of the system, which left them occupying an imperial planet while the star destroyer remained.
If I understand correctly, the following happens:
1. Loyalty remains Imperial. - assumed because I found no mention of the loyalty changing, unlike what happens when Imperial ground units occupy a system loyal to the rebellion.
2. The Imperial player cannot build new units from the build icons on the planet, nor can he place them on the occupied planet.