Crowds celebrate in Germany judge overturns masks