A captain has always the right to disembark anybody from his aircraft!
If the passenger did not comply to the orders of the cabin crew they have no right to stay on board.
This is for safety reasons and has nothing to do with discrimination.
Well done by the captain!