M3/M4 wheels are much taller than the Z4 size, the offset is only part of the problem.
use the following link to check if you know the tires and offsets
http://www.e90post.com/forums/forumdisplay.php?f=12
you enter the details and it will tell you what you need to know