- function and variable naming - social conventions around ownership - stated intent by code writers - common sense
By any reasonable standard, this was theft.
Is a door with a pickable lock always unlocked? No, that would be silly. What makes using a key on a lock different from using a lockpick. Social convention, intent of the creator, common sense, the fact that one thing is called a key, and the other a lockpick.