(a) A court when preparing presentences, conducting jury selection, detention, or setting bail; and
(b) an agency of the territorial or federal government that is considering the person for a position.