It is not necessary to follow the math here, but the integral of a constant times a rate is the constant times the integral of the rate, i.e., the total accumulation over the full range. The constant is the gray body emissivity.
I think this a case in which RB0 is correctly summarizing a point Paradigmnoia made. The important detail in this case is that even though the integrated blackbody spectrum and the integrated graybody spectrum are constant multiples for the same total power (and temperature), if the temperatures of the two bodies are allowed to differ, the graybody spectrum for an object at one temperature can within a small window be made to look very similar to that of the blackbody spectrum at a different temperature. The key detail here is that the graybody spectrum will extend over a larger domain of wavelengths (thus leading to a larger integral). This is shown in the second image in Paradigmnoia's post.