According to HTML 5.1 spec :: Decimal numeric character reference:
The ampersand must be followed by a "#" (U+0023) character, followed by one or more ASCII digits, representing a base-ten integer that corresponds to a Unicode code point that is allowed according to the definition below. The digits must then be followed by a ";" (U+003B) character.
and below:
The numeric character reference forms described above are allowed to reference any Unicode code point other than U+0000, U+000D, permanently undefined Unicode characters (noncharacters), surrogates (U+D800–U+DFFF), and control characters other than space characters.
I am confused. Does it mean (bold text) that characters that cannot be referenced (like U+000 or U+00D) are forbidden or just treated as text, not as references?
TL;DR Should I throw a validation error on entities that cannot be referenced like 
or treat them just as text?
8.2.4.69 Tokenizing character references says: