Western European experience in the effective organization of the work of the legal department. Legal examination of contracts. International treaty law