GameInventory::AreChildrenAccessible is located inside an engine class and unmoddable.
In a repeat of the CanPutInCargoClothingConditions fiasco, the new nensted inventory logic has been put inside an unmoddable engine class, preventing server owners and modders from denying or permitting nesting behaviour programmatically.
To resolve this issue, return attachmentDepth < 3 could be changed to return attachmentDepth < GameConstants.MAX_ALLOWED_STACK_DEPTH, or AreChildrenAccessible refactored into ItemBase.