I think if you can fit one inside the other whilst passing through security (and not breaching the maximum dimensions of the single item of hand luggage), then I think you should (mostly but not definitely) be fine and can get it out again once you've passed security.