In some countries, the publication in the official journal is a condition for a law to "come into effect" or "come into force" (in which the law becomes a reality), so that people know the law (or treaty) exists, which generally releases it into the public domain. But sometimes a public journal is not always released into the public domain.