So you say take an earth stake from the generator earth and stake it in the ground, in so doing you connect the generator earth to the mass of earth.
Now.. are you saying that this will now, if the door becomes live trip the RCBO??
Well i say it wont,, purely due to the fact that the resistance of the return path to the generator will be to great..
Taking this situation as you describe it, it will depend entirely upon the overall loop impedance of the circuit, the majority of which will be comprised of the reistance of the ground rod at the generator plus the resistance of the door frame to earth.
If the RCD is a 30mA type, then it will trip if the overall loop is under 8000 ohms.