The Legion of Freedom is made up of Russians who live in Ukraine and some that live in Russia - the Ukraine government has nothing to do with this group. Like many Russians, they hate the Russian Federal Government and have been committing acts of sabotage all across Russia for over a year.
Its quite possible the Ukraine government wishes they did not exist.
Putin informed of Ukraine ‘sabotage’ incursion: Kremlin
Russian President Vladimir Putin has been informed of a cross-border incursion by a Ukrainian “sabotage” group, the Kremlin said on Monday.
Peskov said the incursion was designed to “divert attention” from Bakhmut and “minimise” Ukraine’s loss of the eastern city, which Moscow claimed to capture.
https://www.anews.com.tr/diplomacy/2023/05/22/putin-informed-of-ukraine-sabotage-incursion-kremlin