It's obv a foul but this intentional miscue is one of Mike Massey's 50 shots all players should know.
But really, there are easier ways to start fights.
Souquet tried something similar in a world championship in the 90s and it wasn't called an intentional miscue. He missed the shot so there was no controversy and just looked like a miscue. But that miscue was the only way he could have made the shot and gotten as perfect shape as he did so 100% intentional imo. He woulda gotten away with it, even with a ref.