Obviously the big danger here is that the ring and pinion will "bottom out".
We know that the original gasket is relatively thick, so it is going to have some shim effect. However - as EFC says - it does compress an unknown amount so we can't really call it a shim even though we know it does do something to the gear engagement. We also know that Yanmar originally set that engagement up to have very little play.
I'm thinking that if it rotates smoothly then you might have gotten lucky and that the total wear in the system is enough to give working clearance. Of course if that is true and you do put a new gasket in, then you will have a large amount of slop there. Better too much than too little. This question of how normal wear is affecting the system is the very one that every mechanic asks himself with every part all day long in every rebuild job.
Actually, we are lucky with the Yanmar front end. There are lots of places where the various clearances from wear and assembly were designed to be measured and adjusted with hard metal shims. Designing something with that degree of adjustability adds considerably to the cost of the product. It is the sort of thing that was common manufacturing practive years ago, but is rarely seen in products today. The fact that Yanmar made tractors with a design philosophy shaped around durability and repairability has a lot to do with their continued popularity.