The constitution isn't static. Amendments can be repealed. An elected government could appoint judges to overturn any previous precedents