Some people call it trolling. I call it exploring new possible identities by taking on a position and then vehemently defending it . . . even when you don't really believe it or care about it.
Our social system today is all about exploring new possible identities. Doing so can help us learn to tolerate the idiots by assuming their point of view for a time.