Running into a weird bug with WFM schedule overrides in Agent Scripting

Stumbled on a weird bug today with the Agent Scripting module when applying manual schedule overrides during peak Chicago morning shifts.

The API returns a 400 Bad Request with error code INVALID_SCHEDULE_OVERRIDE when trying to push a swap via the /api/v2/wfm/schedules/override endpoint. This happens specifically when the swap involves an agent with a pre-configured compliance break. Is there a known conflict between scripting logic and WFM compliance rules?