Eh, not legally. It's illegal but condoned (up to 5 gram, for personal use only). Meaning they won't arrest or prosecute you for it, but technically you are still beaking the law. I guess in theory some DA could add it along with other charges. But since we don't have a US-style kangaroo court system, this never happens.