The general public shall not be excluded from hearings held under this article unless the court determines that it is in the best interest of the juvenile or of the community to exclude the general public, and, in such event, the court shall admit only such persons as have an interest in the case or work of the court, including persons whom the district attorney, the juvenile, or his or her parents or guardian wish to be present.