A prosecutor in the Iranian capital Tehran has said that an unnamed woman who removed her obligatory Islamic headscarf in public has been sentenced to 24 months in prison, three months without parole.