preprint: Characterization of stacks of principal fibre bundles