The role of the judicial officer