My landlord doesn’t want me to do the empadronamiento

I’m renting a “bajo” with a one year contract through a company. I need the empadronamiento to have access to the public healthcare system. However my landlord just sent me a voice message saying that I can’t do it because the place is legally labelled as a commerce. He told me to register through friends lol I’m wondering if I should just do it anyway since I have the contract signed? I don’t have friends in Barcelona that will register me at their place. Is there a possibility my landlord with be notified about the empadronamiento and if so I’m risking loosing my contract and my deposit?