A microwave should not be wired in reverse, this may well damage the appliance......the tripping of the circuit breaker after 20 seconds suggests to me that after switching on, the Large capacitor (2.1KV 0.7uF or thereabouts) on the primary stage of the High voltage DC supply circuit (which powers the Magnetron unit) is saturating in reverse and being discharged to ground (drained via the High Voltage Diode connected to the microwave Case/earth) as opposed to the way in which it normally drains/discharges (across a high watt loading resistor to dissipate charge/energy) which will cause your tripping issue.....correcting the wiring should fix this problem, although the damage might have already been done to the frequency generator stage of the circuit board in the microwave and the low voltage part as well...
There are no real SELV (separated/safety Extra Low Voltage) parts inside most microwaves, there is a "HOT" section on the PCB (Printed Circuit Board) and a Low voltage section (with a small transformer) on the same PCB separated by the air gap only (removed copper cladding/copper plate that has been etched/dissolved away from the main sheet of the circuit board at the factory) possibly with a thin floppy plastic film cover clipped onto the track/solder (back) side of the circuit board to prevent shorting from foreign objects…
There is a Neutral Rail on this circuit board which will have been reversed/swapped to become Live,there could be track lifting or dry solder joints, but most likely not...
If the Microwave is completely dead ( no lights) then you could open it and check the fuse in the fuse holder on the PCB (beside the small transformer) which will be about 250mA, it might have blown, causing a dead control board…. other than that the other components on the circuit board will be too much hassle to replace/rework…
If you open the Microwave, avoid touching the Capacitor in any way as it may still hold a big amount of charge that might not have been removed, the resistors for that have been known to fail before with age or overload…
DO NOT power on the microwave with the case open, I would not rely on the wave guide to direct the microwave radiation properly so you could be exposed if the machine is powered on when dismantled…and that would be very dangerous…
Check the fuse on the control PCB…..if it has blown it can be replaced, if not then the PCB is fried (components such as the PLC/micro controller chip that runs the machine and small capacitors will be dead) replacing the chip would require one with an identical PLC program burned into it, which you won’t have…