Italy reinstated border controls with Slovenia as part of its strategy to improve home security against threats of terrorist attacks in Europe, the government said on Wednesday.

“The intensification of crisis hotspots on Europe’s borders, particularly after the attack on Israel, has in fact increased the threat level of violent action also within the Union,” the government said in a statement.

“The suspension of the Schengen Treaty on free movement in Europe became necessary…and I take full responsibility for this”, Italian Prime Minister Giorgia Meloni wrote on X, the social media platform formerly known as Twitter.

Meloni said the government had informed European Union authorities of the decision and had discussed it with their Slovenian counterparts.

“The police measures at the Italian-Slovenian border are not adequate to guarantee the required security,” the government statement said, citing flows of illegal migrants as a potential risk.

Border controls will be reinstated as of October 21 for an initial period of 10 days, which the government may decide to extend.

Under the Schengen treaty, free cross-border movement is normally allowed within most of the European Union.