 In the novel, Frollo is actually the Archdeacon. The filmmakers  decided to change the character to a judge because they felt it  would make him more sinister to have control over the city and  therefore would not be questioned in his attempts to destroy the  Gypsies.