In Debian 13 GNOME I can neither enable "on top" in the settings nor I can right-click in the window. No context menu is displayed.
I asked an AI and it gave me a workaround: opening the window menu with the Alt-space keyboard shortcut.
If it is not possible to enable "on top" programmatically, please mention this workaround in the text in the settings dialog.