The only way to do this is just open the lid around the gear switch. There is a small "button" to the right, marked with red. Just push it, and now you can shift to any position.
I just had to do this, as I was installing the TVinMotion module.
Before: 2009 BMW E90 320d LCI. Now: 2008 E92 M3