'Create a region with a user-specified ID.
This method is unprotected because it depends on ``self.create_region``
to enforce policy.'

def create_region_with_id(self, request, region_id, region):

    if (('id' in region) and (region_id != region['id'])):
        raise exception.ValidationError((_('Conflicting    region    IDs    specified:    "%(url_id)s"    !=    "%(ref_id)s"') % {'url_id': region_id, 'ref_id': region['id']}))
    region['id'] = region_id
    return self.create_region(request, region)
