Laws are usually passed with longer texts that explain why the law was passed. These are consulted by courts if there are issues in interpreting a law.
This is more important than readers may think as laws especially in civil law jurisdictions are meant to be applied based on intent, and not by the letter.