An apartment building is owned collectively and with that comes a set of rules. In most places you aren't allowed to be a nuisance, even though you own a share of the house you don't get to dictate or do whatever you want just because you own something. Your property is just a part of a larger property, respect others or get the fuck out.
It's a pretty simple arrangement that one gets into when they purchase an apartment.