I can offer a link to a drawing that shows which part...
https://www.bmwpartsdirect.com/oem-p...VkIFByb2R1Y3Rz
...not apparent how it fits or how it attaches, could simply be press fit. It is not painted...are you replacing a damaged part?...gotta get it painted to match.