Last week the Washington Supreme Court decided that people who don’t have the money or insurance to see a doctor to authorize them to use marijuana will nevertheless be able to argue in court that they had a medical reason for using it.

This will also cover people who use pot to treat conditions that aren’t covered by the medical marijuana law, such as insomnia, Seattle marijuana defense attorney Douglas Hiatt said. If prosecuted, they’ll be able to make a case at trial that they needed the pot for their condition.

The Washington State medical marijuana law allows people to use pot for certain debilitating medical conditions, such as cancer, AIDS or intractable pain, and it allows them to have far more of the drug than the ounce adults are allowed to possess under Washington’s recreational marijuana law, approved last year. Currently, people are required to obtain an authorization to use marijuana from an appropriate health care professional before they can avail themselves of the medical law.