MOST everyone knows by now about “lookism” — the preferential treatment given to those who conform to social standards of beauty. Research suggests that people who are judged physically attractive are seen as more competent and more socially graceful than those who aren’t; they have more friends and more sex; and they make more money. One economic study found a 5 percent bonus for being in the top third in the looks department (as assessed by a set of observers), and a 7 to 9 percent penalty for being in the bottom 9 percent.

All of which might come as a surprise to Melissa Nelson, a 33-year-old dental assistant in Fort Dodge, Iowa. Ms. Nelson, you see, was fired in 2010 by her dentist boss, James Knight, because she was too attractive. Mr. Knight, who is married, said he felt that Ms. Nelson’s beauty was simply too tempting to pass unnoticed and that he was worried he would have an affair with her. And so as a pre-emptive move (and at his wife’s insistence), he fired her.

Ms. Nelson sued on grounds of sex discrimination. Stunningly, an Iowa district court dismissed the case, contending that she was fired “not because of her gender but because she was a threat to the marriage of Dr. Knight.” Naturally, she appealed, but last week the Iowa Supreme Court upheld the lower court’s decision (for the second time), maintaining its view that an employee “may be lawfully terminated simply because the boss views the employee as an irresistible attraction.”

Now, you might think that this case of reverse-lookism gives the gorgeous a taste of their own medicine. Better than being fired because you’re ugly, right?