A postmortem report into the death of Celeste Rivas Hernandez was kept under wraps as police investigated – now a judge has ordered its release.