I run into these issues a lot in Oaktown/Richmond. You can apply the FHA mindset, consider it a safety issue and condition them to be either taken out or modified with safety release mechanisms. Most borrowers take them off, I reinspect, and the put them back on. The California law is that bars installed without safety mechanisms prior to approx. 1991 are "grandfathered" in that the installation preceded the law. So technically, older security bars without release mechanisms are "tolerated". But who wants to have chldren sleeping in those rooms? I always note security bars if they are on bedrooms which lack an outside door. I have not had a lender not condition them to be removed or modified. For FHA, I always condition their removal as a safety issue.