“The sheriff has no authority to determine the constitutionality of a law — that is up to the courts,” officials said