That statement is true
Code of ethics in every profession will include several unspoken rules that is nor directly written within official regulations.
For example, it's ethical for doctors to refrain themselves from entering into a relationship with their patients, but it's technically not forbidden in official regulations.