Using a textureatlas, can you still reference the original names in code?

Godot Version

4.3

Question

I have created a TextureAtlas, and i notice when i drag the original files to my scene they’re now referencing the atlas.png that was created, which is great.

Is that the same in code? so a reference to res://Assets/somesprite.png would still use the atlas.png which contains somesprite.png when i make a script?