Occupancy Sensor - Still no solution

"and" "or" "if" would seem to be the approach with many sensors but then what if the occupant carked it?

You would have to cover every possibility and even then I think you would find there are some you didn't think of.