I have the below set in my init file:
---
(setq org-agenda-deadline-faces
  '((1.01 . org-agenda-deadline-past)
     (1.0 . org-agenda-deadline-today)
     (0.9 . org-agenda-deadline-tomorrow)
     (0.7 . org-agenda-deadline-soon)
     (0.0 . org-agenda-deadline-upcoming)))
---

But the faces are not created and the below lines keep appearing in *Messages*:
---
Invalid face reference: org-agenda-deadline-today [6 times]
Invalid face reference: org-agenda-deadline-past [19 times]
---

`describe-face` says `[No match]` when run on any of these agenda deadline faces. `describe-face` does work with the default faces though, i.e. `org-imminent-deadline`.

However, running `describe-variable` on `org-agenda-deadline-faces` indicates that the value is correct:
```
Value:
((1.01 . org-agenda-deadline-past)
  (1.0 . org-agenda-deadline-today)
  (0.9 . org-agenda-deadline-tomorrow)
  (0.7 . org-agenda-deadline-soon)
  (0.0 . org-agenda-deadline-upcoming))
Original value was
((1.0 . org-imminent-deadline)
  (0.5 . org-upcoming-deadline)
  (0.0 . org-upcoming-distant-deadline))
```
Turning on `debug-on-error` does nothing when the messages are generated.

This `org-agenda-deadline-faces` settings has been working without any problems for years. I think the problem began with org v6.6.16, but am not completely certain.

Is this a bug?

Thanks, Mark