Contract 6S by W
dummy:

Q1064

A752

none

AQJ87
declarer:

AK983

K6

Q864

K6
North led

A, trumped in dummy.

AK pulled opponents trumps, 2/2. Declarer claimed with the following statement:
The rest are mine. I have

AK,

K then over to dummy's clubs pitching three diamonds on the clubs.
RHO has

96532. Because of the statement, "pitching the three diamonds on dummy's clubs," must declarer pitch the last diamond on RHO's

9 instead of ruffing? The last diamond could then be ruffed in dummy to score 6S+1.
Thank you so much for your help.
Shuffler