Stupid me. There is another more intuitive approach:
Do not use the course grade as a locking option, but all three activities instead. In the newest version of the certificate module you can define more than one requirement to unlock the certificate.
Custom certificate (plugin)
Certificate requirements and grading values
This discussion has been locked so you can no longer reply to it.