In Canada and the US its considered a light fixture for the purposes of light for an area to have a switched outlet. You are supposed to plug a stand lamp in, in that area that can be controled by the switch. That’s how you can have a living room or hallway in a house with no light fixtures and dark as all hell.
Problem of a poorly designed test and and poorly implemented standard. Don’t throw the baby out with the bath water. You need to test but designing tests that test the thing you are looking for is EXTREMELY hard. This is also part of the alignment problem with AI. If we had this stuff nailed down it would be nice.