However the American Federation of Teachers (AFT), which opposed the suit, has promised to fight the ruling in court, saying the decision overlooks a bigger problem: inadequate funding.
"While this decision is not unexpected, the rhetoric and lack of a thorough, reasoned opinion is disturbing," AFT President Randi Weingarten said in a statement.
"[The judge] argues, as we do, that no one should tolerate bad teachers in the classroom. He is right on that," Ms. Weingarten said. "But in focusing on these teachers who make up a fraction of the workforce, he strips the hundreds of thousands of teachers who are doing a good job of any right to a voice. … It's surprising that the court, which used its bully pulpit when it came to criticizing teacher protections, did not spend one second discussing funding inequities, school segregation, high poverty or any other out-of-school or in-school factors that are proven to affect student achievement and our children."
Read More Citi loses bid to stop L.A. mortgage discrimination suit