This convention, which is reflected in the Scottish Ministerial Code, is intended to ensure that full and frank legal advice can be taken by governments, just as other organisations and individuals can take legal advice in confidence and subject to legal professional privilege.