WARNING: This page is about a different car, the 2010 BMW M3, 2009 BMW M3, and 2008 BMW M3. However, it is still accessible from the selected car via links, so may be relevant.
Open ashtray cover (1) and pull ashtray lid (2) out of locator.
Installation:
Press ashtray insert (2) until it snaps into the locator.