1. What the local laws says goes first.
2. Client specifications goes second.
3. Engineering firm specifications goes third.
4. Sometimes, "the most conservative applies."

ASCE-07 specifies how ASCE recommends to do it in the US.