Illegal or forbidden by what? It's explicitly annotated as possibly returning null.