Unfortunately, the rule states ‘without the use of aids’. Lights are an aid and something else that can fail, and if you’re a 1/4 mile out and they fail, you’re not going to be able to determine orientation.
Its stated very clearly in the rule and flying 2 miles out, with lights, and thinking...