It is commonly said that Muslims must follow the law of the land (with 'land' referring to dar al-kuffar and dar al-harb) but it is also well known that laws in the west regularly contradict each other and things that are generally regarded as normal are by some technicality illegal but are almost never - if ever - actually enforced.
The question remains that if we are to uphold our agreement with the kafir governments, is our agreement to conform to the literal law as written or as it is commonly understood? Furthermore how should we confront laws that are inherently contradictory in nature?
The government of the UK has published the following article that may be useful in understanding the issue: https://www.gov.uk/government/publications/when-laws-become-too-complex/when-laws-become-too-complex