It works for the politburo standing committee and Xi. The legal system are “stewards” for the Chinese government (according the white paper to Hong Kong).
Hence you find so many people in China vying for government jobs because if you climb high enough, the law is below you. That is very dangerous because the only accountability is the person on top.