Ordering objects in a 2d game

Godot Version

4.2.1

Question

I am making a top-down 2d game. Up until now I was using several z-indices for Tilemap layers and setting all of the objects’ and player character’s z-indices to 0. So that they would be on the same layer and could be y-sorted.
However, now I need to place an object on a table. They both need to have the same z-index to be correctly y-sorted with the player. But at the same time, the object needs to be drawn over the table. Which is not possible, due its center being located higher than the table’s.
So how should I correctly deal with ordering in this case?

My thought would be place the table on a lower layer and put a hit box around it so you can’t walk through it, then the placed item will appear above the table on the same layer as the player.

If the table is not movable I’d suggest it just be background…