A district court judge said the Custer County commissioners were wrong when they overturned a conditional use permit that the county planning and zoning board had approved.