The 365 piston is 1mm taller overall, 1,5mm compression height from pin center to piston crown. 365 is also non window and has rounded corners on the skirt more than 262 piston.
Just an experiment to see what happens. I have done this sort of thing many times with some surprising results like, a Stihl 028S dome 46mm piston in a Husqvarna 55, runs and cuts like a much bigger saw, very high compression and 14500 no load 13200 in the wood with 18 inch bar .325narrow kerf chain.