Yep, lots of other model BMW cars have the same relay, it's light green in colour. I doubt all 318i models of all years would have it, but if it's light green with five pins, check the part number, it will probably be the same. I've had it in my bike a few years now without problems.
One of them had about five of these relays, a turbo model, from memory.
If your bricks relay is the old style (square when looking from the top, not rectangular) it will work.