Veteran lawyer Karpal Singh told the Kuala Lumpur High Court that there was “selective prosecution” on the part of the attorney-general in charging him with sedition against the sultan of Perak.