They are not required by law to remove this: it's all a function of what the buyer and seller negotiate to (i.e. what is in the agreement): it is legal to  remove it, to leave it, or to have the parties split the cost to remove it.