legally ordered autopsy; court-ordered autopsy
A forensic autopsy conducted under legal authority, typically in criminal cases, as opposed to a medical or consent-based autopsy.
A legally ordered autopsy was performed to investigate the cause of death in the case.