Nobel Prize winner Gary Becker’s theory on discrimination shows that not only does discrimination hurt those who are discriminated against, but also those doing the discrimination. As I remember the theory goes something like if companies discriminate against women, then those companies bid up the price of men’s wages.
Then if men and women are equally productive a non-discriminating firms could hire women cheaper and drive the discriminating firms out of the market.
Although not exactly discrimination, many companies are banning smoking at their work place. In a sense by not providing a place to smoke, they are a providing a lower wage. A company who wanted to attract smokers could offer lower salaries with a smoking area, and undercut the smoke banning firms. However, by banning smoking firms might attract non-smoking workers who want to work in a non-smoking environment.
So this may explain why a German boss fired all his non-smoking workers.