PJ has it.
The only way 'out', if the case sizes don't match to begin with (pretty rare) is to strip the cases you will use and have them align-bored. This process involves aligning the boring bar to the largest of the 2 halves, then boring thru the smaller one. Often it also requires going to the thickest bearing shell (Black) because it is nearly impossible to just bore one half of a bearing hole.
Another method: have a new oil filter boss made up, bore the case and thread it to match the new boss. This could be a male thread on the end that goes into the case. I'd recommend also drilling a small pin hole through it, then into the case after installing this new boss, and then install a roll pin (or even threaded screw?) to ensure it won't unscrew at some future oil filter change.