I cant help you on your specific application but I think its advisable to use the correct drill size for a tap/pitch combination, because that dictates proper thread fit. For reference this table says 22.5mm drill for M24x1.5 and 25mm drill for M27x2. So by the book, the difference in diameter is (25.0-22.5)=2.5mm = 0.098" Stripped is a relative term but that's a pretty big difference IMO. Even though its a big hole, the threads are relatively fine, so pilot hole sizing is important.
https://fullerfasteners.com/tech/recommended-tapping-drill-size/
Having said this, plastic can be weird material to tap depending on lots of variables. Rigid plastic cuts similar to metal, but soft ductile plastics can distort & expand, potentially only cutting partial threads. But the flip side is it might be elastic to the point it contracts & seals despite this. Put it this way, I wouldnt gamble if it was something important. Maybe there is a way you can test on something expendable.
Also are you talking buying a tap or somehow using the fitting to self tap? (Reason I mention is taps like this can be spendy for a one time use & the second point is generally not advisable). Hope this helps!
this is the kind of detail I was seeking. It’s hard plastic for sure. So I can make a 25mm hole out of the current 24mm and then tap into that. I’ve been a little concerned about expansion/contraction of the dissimilar materials. I’m not planning to tap by hand. The “final solution” is replacing the Drain pan which is very labor intensive and I think not DIYable from what I’ve read. The drain valve/plug does have a rubber O-ring however.