Doesn't this have the risk of raising error like https://github.com/ezsystems/ezpublish-kernel/pull/590