This appears to be fixed in macOS Ventura 13.3.1.
Topic:
App & System Services
SubTopic:
Automation & Scripting
Tags: