Note the distinction between the words can and may. 
“Can” means “is able to,” or “has the power to.” In the courses, it often refers to the validity of the Sacraments. 
“May” means “is permissible,” “allowed,” or “is lawful,” and refers to whether an act is licit or illicit.