The Treasury issues literally thousands of Regs that interpret existing statutes. So long as the Regs reasonably interpret the statute (in this case Sec. 7874), the courts give them considerable deference.
Here's the relevant statute, which specifically allows Regs to interpret it: