As reported by Censor.NET citing Novaia Gazeta, this was said in the official statement on the incident made by the Staff of the Russian Black Sea Fleet.
"Ukrainian Navy An-26 plane, tale No. 53, committed two obviously provocative approaches on extremely low altitude towards Russian Tavrida and Crimea-1 drilling rigs in the Black Sea this noon between 11:30 a.m. and 12 p.m.
"A drilling rig guard force member fired four flares with a signal pistol as Ukrainian An-26 plane was making the second run in order to prevent a possible plane crash due to a collision with the tower's mast," a spokesperson for the Russian Black Sea Fleet Staff said.
"Everyone who has ever used a flare gun or fireworks understands that absolutely nothing ever posed a threat to the aircraft," he added.
As reported, An-26 came under small arms fire from a small anti-submarine ship of the Black Sea Fleet of the Russian Federation. In addition, the plane was tracked by the anti-aircraft system. Several flares were fired from the ship.
The aircraft got several hull breaches, the crew members weren't hurt.
The plane was flying over the Ukrainian territory and carried no weapons.