That's been standard practice in many German regions for decades and most Eastern European countries did the same. Most Western European countries outlawed the practice some time in the 1970s, but there are still many existing installations.

Not only a black/white reversal is dangerous, a broken neutral is just as bad if anything is plugged into that outlet!