The former head of children's services at Haringey Council, who claims she was unfairly sacked after the death of Baby Peter, has lost her case.
Sharon Shoesmith claimed she was the victim of a "flagrant breach of natural justice" when she was fired after a damning report by Ofsted inspectors.
But the High Court has ruled that she was lawfully sacked.
Head of Ofsted Christine Gilbert said she was pleased with the judgement.
She added: "Protecting vulnerable children is very important to us".