Congress cannot impose community service on the president without his permission--that would be an unconstitutional bill of attainder.
Congress does not need the president's permission to impose service.