Both morally and, in most countries, legally, patents can be broken in cases like this (severe undersupply, inaccessibility and urgency).
The WHO should be more concerned about forcing hostile countries to respect that right rather than look for silly workarounds.