Disagree, asking a teapot for a cup of coffee is an invalid user request. The server is working as expected, but is not being asked to work as expected.
If the cup is empty, then a 518 teacup is empty error would be more appropriate but as long as there is piping hot tea - 418 for me.
/s