Ask a landlord-tenant lawyer and get answers ASAP
Thank you for your question. I look forward to working with you to provide you the information you are seeking for educational purposes only.
The landlord is liable for making sure the building complies with fire codes. If the bars prevent exit from the building and violate the fire code, then yes the landlord is liable for replacing them and conforming to code. So you would need to get proof from the local fire marshal that the bars violate code and give your landlord notice and if the landlord refuses to make repairs, then you would be able to sue the landlord for the costs of making them conform to the code.