That depends upon your equipment requirements.
In general, a CT simply produces an output current proportional to the sensed current. This output current is fed to your metering equipment. If you need to measure a 400A circuit but have an 800A CT, then the output current will be half of full scale. If your metering equipment is happy with this, then the setup is fine. I would expect that using an 800A CT for a 400A circuit will result is reduced accuracy of measurement, but this may not be significant for your application.
-Jon