They are not criminals.  The Safe Third Country Agreement only applies at a Port of Entry and their are no offence provisions.  

S. 133 of the IRPA makes it clear refugees are not considered criminals for illegal entry.