(1) A magistrate is ex officio the coroner for his or her district.
(2) A magistrate is also ex officio a justice of the peace.