AG highlights 'risk to public health' if in the absence of a permanent minister, detainees and prisoners, many of whom are unvaccinated, have to appear in person in court