The ruling on wearing religious symbols was brought to the EU court by two women in Germany.