Freedom To Discriminate

The Charlotte Observer:

In a matter of minutes, the state House on Thursday morning overrode the governor’s veto of the same-sex marriage bill that allows magistrates to decline to perform marriages.

The Senate overrode the bill earlier this month, and now it is law. As a result, magistrates and employees of registers of deeds can opt out of performing marriage duties if they cite a religious objection. County offices in North Carolina must have established hours for performing weddings, as well.

I assume it's illegal to discriminate against people based on their personal religious views when hiring them to be magistrates. How can it be legal for magistrates to then use their personal religious views to discriminate while performing their jobs?

You were hired without regard to religion because the expectation is that your religion is irrelevant to the job and that you have to serve the whole community, not just your own!