If you read beyond the clickbait DM headline then this is what the Russian minister actually said:
He warned that if those warplanes attacked the Russian forces from the territory of those nations, it 'could be considered as those countries' engagement in the military conflict'.
Giving Ukraine the planes isn't the same thing as attacking Russian forces from a separate territory. If you're feeling really anxious then steer clear of the DM, they hint at the worst to get clicks in their headlines and bury the nuances way down in the article.