What laws should the British royal family obey during pregnancy?

According to the Royal Family Law, the child's parents are not allowed to declare sex until his birth. The only source that is authorized to officially announce the news of the sons of the royal family is the Royal House press spokesman.