The real solution is to stop the law while it is still being negotiated.
If the law was passed, would there still be things you could do to insulate yourself from the effects of the law?
If so, that is the real solution, because it works in all cases.
In America our judicial system is sleeping and also overtly supporting anti democratic laws.