Why not “sorry, my toilet overflowed” and “I understand”.
I agree with you. Profanity is obnoxious. But it shouldn’t be taken to court.