Fixed by refactoring the logic and adding an additional test in 4ec3946bd150eaf47190f3929ff610da2f4adafd.

I don't think it's strictly necessary to return an error. I guess it's conceivable that if someone is reusing their configs for something else then they may want to have both keys for a period of time, and the warning about deprecation should be enough.