Israeli police launched a criminal investigation of an Israeli drone manufacturer that allegedly tried to bomb the Armenian military on behalf of Azerbaijan during a product demonstration.

Hebrew media reported the existence of the probe of Aeronautics Defence Systems on Monday as an Israeli court approved a gag order on most details. Police confirmed that they were investigating the firm’s deal with a “significant customer.”

In September, the Defence Ministry opened an investigation of Aeronautics Defence Systems after it received a complaint that the manufacturer demonstrated the use of a kamikaze drone in Azerbaijan by attacking a manned position of the Armenian army earlier this year.

According to the complaint, the firm sent a team to Baku, the Azerbaijani capital, to demonstrate its unmanned Orbiter 1K system, which can be equipped with a small explosive and flown into an enemy target on a “suicide mission.” During the demonstration, the company was asked to conduct a live-fire test against the Armenian position, the complaint said.

The two Israelis operating the two Orbiter 1K drones refused to carry out the attack despite threats from their superiors, according to the complaint. Two senior members of the Aeronautics Defence Systems team then attempted to fulfil the Azerbaijani request, but failed to hit their targets, the complaint said.

Azerbaijan and neighbouring Armenia have been engaged in a violent territorial and ethnic conflict for three decades that has escalated since last year.

Under Israeli law it is illegal to carry out weapons tests on real targets without a permit, which is rarely granted. In August, the Defence Ministry froze Aeronautics Defence Systems’ license to export to the “significant customer.”

Aeronautics Defence Systems denied the substance of the complaint at the time.

The firm said it expected to make a $20 million deal over the next two years with the “significant customer,” according to publicly available details of the investigation. Azerbaijan is a major importer of Israeli weapons and an important ally given its border with Iran.

Responding to reports of the investigation, Aeronautics Defence Systems said it would cooperate with police.

Aeronautics Defence Systems has also reportedly had dealings with the Myanmar military junta, which is accused of ethnic cleansing the country’s Muslim Rohingya minority.