I read on this answer by Anish Sheela:
Sign indemnity form saying that you accept personal responsibility to pay the fine imposed to the airline, in case you are denied.
Which airlines offer indemnity forms? Do all airlines have it, or just a few ones?
From this answer by Zach Lipton, at least Qatar Airways has it:

