Paris, France—Marine Le Pen, the French far-right politician, has been ordered to see a psychiatrist after posting pictures of crimes committed by ISIS.

A French court has instructed Le Pen to undergo psychiatric tests “as soon as possible” to determine whether she “is capable of understanding remarks and answering questions.” According to the ruling, the photos she posted “incite terrorism or pornography or seriously harm human dignity.”

A few weeks after the destructive attacks in Paris in 2015, which claimed 130 innocent lives and wounded hundreds, Le Pen tweeted some photographs. One of them depicted American journalist James Foley after being beheaded by ISIS (she took down the picture after Foley’s family requested her to do so). Another showed an unknown captive being jellied by a tank. And another portrayed the live burning of a Jordanian fighter-jet pilot who was captured by the Islamic radicals.

“I thought I had been through it all: well, no! For having condemned Daesh (IS) horrors in tweets, the ‘justice system’ is putting me through psychiatric tests! Just how far will they go?” said Le Pen, who is also a trained lawyer.