Work within the law and everything is fine. Uber routinely tries to avoid that (even when there are escape hatches available to them they don't use them; it really seems part of the DNA of that company to do things as shady as possible without actively killing people), both flaunting the protections intended by the laws and giving itself an advantage over their competitors who adhere to regulations.