If the trim is in good condition, you can clean it up with Goof-Off or Oops or some similar paint remover. Or you can totally strip it with something like Citrus Strip. (We did this recently on some baseboard that I held onto for years and the wood underneath looks great). It will save you the expense of new trim and it's already cut to fit.
Learn something every day