 Valjean was told what had happened and knew that Bamatabois should have been the one arrested and ordered Fantine free.Javert knew only what he'd seen and was furious with Valjean for interfering with police work.When Valjean orders Javert to leave in front of Javert's squad, Javert leaves and denounces "Madeleine" to the prefect of police at Paris, saying that he suspects Madeleine is Valjean.