The president says he will abide by judicial rulings.