Yeah, definitely a publicity stunt designed to say "Hey Opposition Leader, let us arrest you. See, EVEN I am not above the law".

Either that or it's a poke at Prayut for the time he rode without a helmet.