As I've just mentione elswhere, an RCD in your mains supply offers no protection against shocks from the output of your VFD. Don't take risks with the safety earthing of your spindle.