On the broadcast they asked AM and the response was it was never declared wet. They followed up with the FIA and were told it was an intentional decision to not declare wet. I think the trial was for regular quali, and the restriction was already in place for sprint quali.
Edit: https://www.motorsportweek.com/2023/04/25/formula-1-confirms-sprint-shootout-with-tyre-twist/