The prisoners left their cells under police supervision to help make a documentary about the festival.