ROCKY MOUNT, VA., AUG. 5 -- Virginia Senate candidate Oliver L. North's license to carry a concealed weapon has been revoked by a state judge, who concluded that North is "not of good character" because he lied to Congress during the Iran-contra affair.

North declared today that the decision by Clarke County Circuit Court Judge James L. Berry was politically motivated and accused Berry of contradicting himself. Two years ago, Berry renewed North's concealed-weapon permit without objection.

North obtained a permit for a concealed weapon in the mid-1980s, when federal officials determined that his Iran-contra fame had made him a potential target of terrorists, and he has renewed it routinely ever since. Just this week, North would not say whether he carries a gun.

But Berry, who has jurisdiction over North's gun permit because the candidate lives in Clarke County, moved this week to disarm him. In a written ruling that North's campaign received by mail yesterday, Berry wrote that "this court is unable to ignore {North's} conviction for crimes involving moral turpitude" in the Iran-contra affair.

North was found guilty of three felonies, but his convictions were reversed on appeal. He has admitted that he lied to senior members of Congress as a White House aide, however, and Berry cited North's untruthfulness as sufficient grounds to revoke his gun permit.

"Even though his convictions were later overturned," Berry wrote, "the fact of those admissions {of lying} remains. ... The application is therefore denied on the ground that the applicant is not of good character."

North, a Republican, immediately responded that Berry was smearing him in an attempt to help Democratic incumbent Charles S. Robb. Like all of Virginia's judges, Berry was appointed by the Democratic majority in the state legislature. The Democrats have traditionally excluded Republicans from the bench.

Berry granted North permission to carry a concealed weapon two years ago and made no mention of his Iran-contra conduct, even though it had occurred several years before and was widely known.

"What happened in the last two years to change things?" North asked. "It seems that becoming a candidate for the U.S. Senate automatically disqualifies me" from obtaining a permit.

"This is just politics as usual, retribution politics, from the other party," he said. "I guess {Berry} is working on getting appointed to a federal judgeship by the Clinton administration."

Reached last night at his home in Winchester, Berry declined to discuss his ruling in detail, but he said partisan politics were not a consideration. "This matter is still before me, and I don't think I should comment," he said. "But I don't decide cases on the basis of politics."

Berry described himself as "fairly apolitical," but he said: "If I had to choose, I'd be a Democrat. I vote for people in both parties. That was not a consideration in this case, but I just don't think I can get into my reasoning with you."

The decision stripping North of his permit for a concealed weapon comes as he is waging a campaign against restrictive gun laws. North was in Rocky Mount today to appear on a syndicated television show about fishing and hunting and plans to go skeet shooting on camera Saturday.

On Wednesday, North held a news conference in the District's Lincoln Park to argue that the city's strict gun-control laws have not curtailed crime there. North opposes the Brady law, which requires a five-day waiting period before the purchase of handguns in most states, and he also opposes the assault-weapon ban included in the crime bill now before Congress.

Berry's decision "is an outrageous abridgement of my Second Amendment rights," North said. "This is politics, pure and simple. I don't have any doubt we'll triumph."

North said he will appeal Berry's ruling and is confident it will be reversed.