How about we ask Rosa Parks.I disagree. Illegal is against the law. Is it wrong to obey the law knowing the consequences if you don't?
Or, given the season, the Founding Fathers. Not many things more illegal than outright treason; were they wrong--morally wrong--to do so?