His plea triggers a legal battle over whether he will remain detained pending trial on smuggling charges