“...or they may resign if they find their duties repugnant to their personal moral codes.”
Yep, then they can find someone who will get the job done. Likely a homosexual would be ecstatic to hand out marriage licences in right-wing Texas.
I agree that a replacement would follow the law. So someone has lost a job and pension, no light thing in this economy but then the Lord never promised it was easy to follow Him.