Kim Davis refused to grant marriage licenses to gay couples in the name of her religious beliefs. A judge sent her to jail (she’s since been released). Eugene Volokh provides some answers to the question: When does your religion legally excuse you from doing part of your job? (My Rabbi has asked that I not answer that question at this time.)