This question is probably best answered by addressing the city directly. I personally have not seen a legal garage conversion to a bedroom in a long time. I have seen it done out of necessity without permit but it is usually torn down or converted back to a garage when the property is sold.
Coldwell Banker Star Realty
BRE Lic #01456982