Let's put it this way, if you stand in the middle of Belfast and make derogatory Irish jokes, you can expect to get your head smacked in. Funny as it may be, there's a time & a place.
Unfortunately in my experience, people in the workplace who make harsh gay/lesbian comments have this "everyone around me is straight" attitude, and don't notice if only 9 out of 10 people around them laugh.