Hey!
I think that, if absolutely necessary, it would be okay. As long as the laws are just and do not go against the Constitution, then they should only if absolutely necessary. Also, as long as the laws and enforcements are for the better good of humanity and are fair and equal to all.
Hope this helps! :D