The greatest rabbi can be forgetful or mistaken; Rabbi Yosef Karo, in the Shulhan Arukh, not always provided a final decision, but rather offered options.
Those are two statements made by rabbi Messas in his discussion of the status of Kippa, or yarmulke, in Halakha and daily practice.