If you have a smart UPS that provides feedback to your PC then it will put your PC into a low power profile when the power goes out. This is very similar to the way a laptop conserves power when on battery. I would not worry about overdrawing the 400 watts from the UPS because that's only relevant when its on battery and it can temporarily provide much more, usually for long enough to bring the PC into low power mode.
If the battery gets low the PSU may put the PC into hibernation.