The error had ‘grave and unintended tax consequences’