Contracts often states that architects should have 'due regard' to a Code of Conduct. Does this mean that they must obey it?

A requirement to have ‘due regard’ to something does not necessarily equate to complying with it. In order to have ‘due regard’ to a code, the architect is simply required to have read it and decide whether or not the code has relevance to the work that needs to be done.