Like making a thick template to remove <1/8" roundover to clear the return on the basket?
Nope... If needed to clear the edge of the cab because only a large router is available, random pieces of MDF taped in place, to either the baffle or router base itself to support the router base and allow part of it to overhang the raised cabinet lip.
But with a palm router or laminate trimmer, none of that is needed based on the photo, just a multi-bearing rabbeting bit, as the base of the router will clear. Again, pass #1 uses half of the existing hole to cut a rabbet to new size. Pass #2 is with a flush trim bit, using the newly cut rabbet as a guide, leaving a straight sided hole of the new dimension.
This is the rabbet bit, changing the bearing sets the rabbet width, the largest bearing makes it trim flush.
This is a flush trim bit that can be used from the front of the cabinet. The bit above can also flush trim, but from inside the cabinet only, due to the bearing location.
This is a 5 minute job including putting the bits away when you're done, and it'll be perfect.
If you only need a rabbet, skip step 2.
Templates are great for ports and cutting speaker holes from scratch, but totally unnecessary here.