If the military forces a Jewish member to remove his kippah because they do not allow head covering, must he comply under dina d'malchuta dina or not? On the one hand, head covering in Judaism is a matter of custom, not law. On the other hand, the rule does seem arbitrary. I know there were cases reported in the press. But what does the halacha say?
(My take from the discussion below: If the government forces you to remove your kippah or else, and your arguments don't sway them, you must remove it under dina d'malchuta dina. Someone correct me if I am wrong.)