Is an environmental sticker mandatory in Germany?

Yes, if you drive through an environmental zone without a valid sticker, you risk a fine of €80. The rules apply to everyone, including foreign number plates. It's better to sort it out properly beforehand than to be faced with an unpleasant surprise along the way.