In another world, the ref would've blown his whistle. He didn't so VAR should've stepped in. Neither happened in this world. In a changed world we'd have a football-type ref to rule this behaviour offside.