As documented in https://github.com/mmanciop/response-status-repro, @ResponseStatus does not work out of the box with WebFlux applications, but ResponseStatusException does.
I think ResponseStatusException works and not @ResponseStatus due to org.springframework.boot.web.reactive.error.DefaultErrorAttributes#determineHttpStatus and other methods.
I truly cannot tell if this is by design or by oversight. Would it make sense for me to open a PR and add @ResponseStatus support to org.springframework.boot.web.reactive.error.DefaultErrorAttributes?