Under the Basic Law, Hong Kong has it’s own legal system, so there is no constitutionally acceptable way Beijing can “establish” new legal system to it’s liking. Perhaps the law is simply a threat, and they won’t take action, but if it is fully implemented, it means the end of the current legal system’s autonomy.
The vagueness of this law is a good example of how the PRC’s legal system is very open-ended compared to other countries, and allows for arbitrary action from China’s rulers.
What part of "having laws forced by China" is separate political governance?
That said, maybe the exodus is overhyped: a lot of businesses are already dealing with the mainland government and certainly that's where a lot of them see where the money is, so they might just be forced to play by these new rules whether they like it or not.