Well, depending on legislation, they could be ordered to change the code to send the user password to them on next login for that account and then decrypt everything…
Now, Ente could still change its web application to somehow leak the master key and not disclose the changes in the source repo. One solution for this vulnerability is to package the entire web client as a browser extension, which is what Mega is doing: