Mutually exclusive.

If its not restricted, then it must not encode either.
Free use of attributes already allows XSS and RCE,
as you can inject to selector space.

There are potentially encoding issues as restricted is
expected to be pre-encoded, while unrestricted isn't.
If new attributes are ever added, mixing these two
can also introduce some unexpected lurking bugs.