This was done at the Mazda factory? Inexcusable! Good headlights are important, I can only imagine the negligent person who installed that backwards had no idea the danger and risk their negligence caused. I spend a lot of time in areas with no houses, no streetlights, no traffic signals and plenty of winter darkness. In other words, if there are no clouds, when people from the city look up, they are blown away. People who have never left the 24/7 glow of the city may not realize just how important headlights are to those of us who travel in truly dark (and often rainy) environments.
If Mazda had even one employee who was installing 50% backwards, even if only for a week, they need to send out recall notices. At least the proper installation can be verified visually without needing to remove anything (or even without putting the car on a lift). I imagine this explains a number of people who have complained of a cut-off that was too low. Good thing it's a simple fix!