He has been warned to expect jail