import re


def trim_stopwords(s, stop_words):
    """Case-insensitive removal of stop phrases/words from a string
    >>> trim_stopwords('Depártment de Testing Test royale', ['depártment de', 'royale'])
    'Testing Test'
    """
    for stop in stop_words:
        if ' ' in stop:  # phrase
            s = re.sub(stop, '', s, flags=re.IGNORECASE)
        else:  # individual word
            s = s.split()
            for i, w in enumerate(s):
                if w.lower() == stop:
                    s.pop(i)
            s = ' '.join(s)
    return s.strip()