I've found this workaround:
Type: Exact Redirect
From URL: /en/*
To URL: /en/latest/
Force redirect: Disabled
This will cause any nonexistent/not published version (under the /en/ directory) to redirect to /latest/ homepage, while preserving correct behavior for all versions where the page exists.