The actual disabling goes fairly quickly (DC 20 for each rigged ballista), but the tricky part is going to be standing up to scrutiny, since no one there recognizes him, especially once the shift change arrives. (Pass any two of DC 20 Disguise, Bluff, Diplomacy, or Intimidate, or the bandits will grow overly suspicious.)