his job was to follow the laws of the state , and if the laws prohibited marriage between two men or two women , or two men and one woman , or whatever combination , anything other than one man and one woman , then he , as a chancellor , had no choice but to dismiss the case .