that's not the point i was getting at. the law doesn't matter since the person is practicing their recognized religious rights. that makes it not illegal.
if a muslim doctor opened a muslim hospital, he could practice those rights as often as he wanted since it would be privatized. if a muslim doctor went to a public hospital and those beliefs were part of his terms and conditions, he wouldn't be hired.