The ruler 's palace , Istana Lama , was the official residence of the royal family until 1931 , replacing an earlier palace which had burnt down .
The palace before the Istana Lama is still in existence .