Views gives 200 instead of 404 if incorrect argument and a pager is present
I found a solution: I had to set "Show page not found" in the Global Null argument "When the filter value is not in the URL."