North Dakota Supreme Court rules against Dunn County