An appeals court has overturned a decision banning a lawyer from practice with retrospective effect and ordering her to pay $20,000 in legal costs, after a tribunal sanctioned her for allegedly misleading a court employee and making “offensive” remarks in 2016.