I've had this happen twice:
18834479, turn 10, decision 146
Select to trash with Treasurer, select the card but don't click to confirm trashing. Instead click the "Take key". The card marked for trashing stays marked and can't be trashed by anything else (ex Goat).