It's also worth pointing out that an RCD will not give you any protection in the event of a shock from the output of the VFD, only from contact with the mains supply. The choice of RCD type relates to the risk of spurious tripping caused by earth leakage in the VFD input filter.