There are laws in place to protect the life of the individual and society, such as traffic laws, and these laws must be adhered to, and it is not permissible to violate them, because of the potential harm to the individual and society.
There are laws designed to organize life, give equal opportunities to people and protect society from manipulation, and if their application to people is done correctly, then it is not permissible to violate them, especially if violating them is an offense to Islamic law, as the violators will basically be Muslims.