Fortunately, there are plenty of alternative approaches to this right now that effectively give law enforcement the equivalent of backdoor access, often not just to encrypted messaging applications like WhatsApp but the entire device too.
Reading between the lines, this is likely why plans to legislate for encrypted messaging backdoors were quietly shelved, for now. But it's coming eventually.