Denis was arrested in August 2020 in connection with a criminal case opened under the article "violence or threat of violence against a law enforcement officer." Three months later, he was found guilty of insulting a patrol police officer online. Denis was initially sentenced to a restricted freedom sentence without a referral, but the prosecutor appealed to the regional court citing the lenient nature of the sentence, but the decision was upheld. An appeal was then filed with the chairman of the regional court, and the verdict was again upheld.
In August 2021, the Supreme Court overturned all appellate rulings and remanded the case for a new appellate hearing, resulting in the sentence being changed to restriction of liberty with placement in an open correctional facility.
He was released in the fall of 2023, having fully served his sentence.
On January 23, 2024, Denis was again detained during a KGB raid on food aid from the INeedHelpBY initiative. On February 1 of that year, he was convicted of "using foreign gratuitous aid to commit terrorist or other extremist activity." He was sentenced to a large fine and ordered to pay compensation for "foreign" payments made via e-delivery.

