I am confused about this issue.

While 4205.5 appears to allow a 40 amp breaker on the #10 wire,

4205.7 specifically limits #10 wire to 30amp breaker.

Is it not true that the most restrictive limit is applicable?