You’re right on the money! BMW bought Rolls-Royce in 1998. Rolls-Royce has been a subsidiary of BMW ever since.
Once BMW heard this news, the company bought the rights to the Rolls-Royce name and logo, then pulled all of their engine, electronic, and powertrain deliveries. Eventually, BMW and Volkswagen struck a deal that allowed Volkswagen to keep the major manufacturing plant but gave BMW the rights to any Rolls-Royce cars produced.