IMU can just order him to kill all the pirates and civilians left in the Island, which would be very typical from him, and that would force both Roger and Garp to fight Rocks, imagine if rocks attacks one of the Roger Pirates or if he tries to kill an innocent civilian.