This incident dates back to 1788, known in history as the Battle of Karansebes. This battle took place during the long Ottoman-Austrian wars between the Ottoman Empire and the Austrian Empire, particularly related to the Ottoman advance in the vicinity of Vienna.

 The city of Karansebes held extraordinary strategic importance in this war, serving as Austria's gateway during that era.
 If this city had fallen completely into Ottoman hands, the defensive situation for Austria could have become extremely weak.
A few scouts (spies) of the Austrian army advanced to monitor the area.
 There, they encountered a group of nomads (gypsies) selling wine. These soldiers bought wine and got drunk while drinking.

 Shortly after, another contingent of the Austrian army arrived there and wanted to join them, but the intoxicated scouts refused to let them join. 
The matter escalated, harsh words were exchanged, and during this, a bullet was fired into the air.
 Then someone panicked and shouted:
 “The Ottoman attack has begun!” 
This one sentence changed the entire scenario. Panic spread, and the intoxicated soldiers, in a state of confusion, rushed towards the advancing Austrian military units.
 These units assumed that the Ottoman army had indeed launched an attack, so they retreated and ran towards the main camp.

 When these units reached near the camp, the army there, mistaking them for Ottoman soldiers, started firing.
 In response, the retreating units also fired bullets. Thus, in no time, the entire army became entangled with each other.
 To the point that the Emperor of Austria was almost killed by the bullets of his own soldiers.
The next morning, when the Ottoman army arrived at the scene, they faced no resistance. 

 The battlefield was filled with thousands of Austrian corpses and wounded. That too, without any formal war. Thus, the Ottoman forces easily entered the city and achieved victory, without any casualties.