Use the M3 screws and nuts to affix the PCB to the case bottom.
The patterns in the base allow for the keyswitch posts and soldered pin legs clearance for a nice flush fit against the PCB.