The Z4s have a smaller front badge than that.
Here's a link to the one I bought in 2019:-
https://www.amazon.co.uk/gp/product/B00CHILOE4/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1
It came from BMW Park Lane and fitted my facelift just right. But unlike that image it didn't need grommets to fit it, it had 2 short plastic posts on the back that I secured using the nuts holding the old one on that cut a thread onto the posts. You just need to pop a kidney grille out to get to them.