Design and Interior Sculptures

What happens when a work of art also presents a functional purpose, when a sculpture serves as a piece of furniture, when a picture is painted, not on canvas, but on a curtain or carpet?