If you work in government and are asked to remove content from websites (as a result of executive orders), please use the HTTP status code 451 instead of 404.

451 is the correct status code to use for these cases, and you'll be doing the rest of the country a service by using it.

Addendum: you should also include a Link header with the link relation "blocked-by" that "Identifies the entity that blocks access to a resource following receipt of a legal demand."

https://www.rfc-editor.org/rfc/rfc7725.html

RFC 7725: An HTTP Status Code to Report Legal Obstacles

@ramsey

HTTP status code 451:
Unavailable for Legal Reasons

HTTP status code 404:
Does not exist, has moved or is broken

@PostcardsFromParadise @ramsey "Has moved" should be 301 if you can give the new address or 410 if you cannot.