Re replacing carpets with floorboards I doubt if it's against the law but it could easily be against the terms of your lease. It is for mine and if I did I know that my neighbour beneath me would be on the case as soon as she was aware of this. Having said that both the flats above me have had wooden flooring for years and no one complains about them.