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."
@ramsey Good people, if you see news articles mentioning error code 451 for MAGA Project 2025 censorship chaos crusade, please update Wikipedia article HTTP 451 #HTTP451
https://en.wikipedia.org/wiki/HTTP_451
Obstruct, resist the MAGAfascists!
@ShutterbugDoug Why is this line in the Wikipedia article?
> This status code is currently a proposed standard in RFC 7725 but is not yet formally a part of HTTP, as of RFC 9110.
This statement is incorrect because section 6 ("IANA Considerations") of RFC 7725 formally makes 451 a part of HTTP by registering the status code with the IANA status code registry.
@ShutterbugDoug I just edited the page to remove that line. :-)