If the estate executor is court appointed, his responsibilities are typically the same as they would be had the executor been named by the decedent.
Courts make an effort to appoint someone who is close to the estate, but in other cases, they may select a complete outsider.