How was a full-sized apple placed inside a thin-necked glass bottle without breaking the bottle or cutting the fruit?

Apple In Bottle Brain Teaser

The apple grew inside the bottle. The bottle was placed on the tree branch before the apple was formed.