Smoking has been banned on commercial flights since 2000, so why do brand new airplanes still come with ashtrays installed in the bathroom?

Smoking has been banned on commercial flights since 2000, so why do brand new airplanes still come with ashtrays installed in the bathroom?
