Umno secretary general Tan Sri Annuar Musa on Tuesday said the thirty MPs and assemblymen who leave the party to switch camps will be taken to court.