With the Singapore thing you got lucky. Lots of times people in positions of power within a bureaucracy will take a remark like that to mean you are being "clever" and decide to fuck with you. It's better to act politely, but mildly clueless. It's not fun for them to bully nice, stupid people.