How can a judge take a mans shotgun for a dui conviction.I know a guy,only a [M] record?How can a man protect?

his self?In N.C.the judge ruled the man have no weapons.No weapon was found at the scene of the dui.No weapon was even remotely involved.I find this bazzar.The judges name is wayne micheal.District court.This no poor man he owns a 275 thousand home in a poor county.He also recieved three years sup.probation,24hrs.comm.service,classes.Unusual and excessive punishment I think!