If there is judicial security, then political, economic, social and cultural security will be created, he said.
The leader made the remark at a meeting with the officials of the Judiciary and members of the martyrs of the June 28 event.
On June 28, 1981 the People's Mujahedeen Organization (MKO) planted a bomb in the headquarters of the Islamic Republic party in Tehran killing the judiciary chief Ayatollah Seyed Mohammad Hosseini Beheshti and 72 of top officials including a number of MPs.
The MKO is on the terrorist list of the U.S. State Department and is on the black list of the European Union.
France arrested about 200 members of the terrorist MKO couple of weeks ago.
France's counter-intelligence chief said couple of weeks ago that the terrorist Mujahedeen Khalq Organization (MKO) was beefing up its bases in France to make it a global operations center for terrorism, stressing that the group had already become "a dangerous cult".
Pierre de Bousquet, head of the DST internal security agency, told Le Figaro newspaper that the DST believed the MKO was upgrading its base in France, in Auvers-Sur-Oise, north of Paris, that for years has served as their headquarters, from which they were planning to launch attacks on Iranian embassies in Europe.
After being outlawed by Iran following the victory of the Islamic Revolution, the MKO carried out numerous assassinations on Iranian officials. They have also been listed as a terrorist organization by the U.S. and the European Union.
The French anti-terrorist police arrested some 160 members of the group, including Maryam Rajavi, a figurehead and wife of MKO ringleader Massoud Rajavi.
Bousquet added that the round-up of MKO members was justified as the group "had become a dangerous, fanatical cult, and since a long time had slipped into the logic of terrorism".
"The Mujahideen has seen a sectarian shift that illustrates the fanaticism of its militants. The dramatic immolations of recent days sadly confirm this," de Bousquet said.
"Its members must show blind devotion to Massoud Rajavi and his wife, and a high price is paid for the slightest criticism."
Bousquet further said that it was the indirect consequences of the U.S. intervention in Iraq which made France hasten its action against the group.
"On the one hand activists and trained militants were heading to Auvers-sur-Oise and on the other we had intelligence from various sources which convinced us of the MKO's intention to make France a new world headquarters after losing its bases in Iraq," he said.
Elsewhere in his speech Aytollah Khemenei said observing rules and regulations, the Judiciary must try to win the confidence of the people, adding, the fulfillment of justice and maintaining people's security and preservation of their rights should be top on the agenda of the Judiciary.
People must pin their hopes on the observation of justice in all judicial centers, he said adding no judicial offense must be overlooked.
Recently there have been some complaints about corruption in the judicial system in Iran.
Attacking the Judiciary will lead to the violation of rights of the weak strata and chaos in the society, he concluded.