PARIS — The French authorities said on Monday that a teacher who claimed to have been stabbed with scissors and a box cutter at a preschool near Paris had fabricated the story.

A police official in Aubervilliers confirmed that the teacher, who has not been identified, admitted to having invented the assault by a supporter of the Islamic State at the Jean Perrin preschool in Aubervilliers, a northern suburb of Paris.

It “was a fake attempt, done so that he could have himself transferred” to another job, the official said, speaking on the condition of anonymity because he was not allowed to speak to reporters about the episode.

A spokeswoman for the Paris prosecutor’s office, Agnès Thibault-Lecuivre, said, “He wounded himself alone in his classroom, before the children arrived,” in what she called the first such instance in France. She said the preschool teacher, 45, was in the hospital for his wounds, which were not life-threatening, and was being questioned further.