A close relative of mine was in Canada visiting a friend for 3 months. He crossed the border into the US but when he tried to re-enter Canada they denied him because of a criminal record. However, they told him he needed to appear in court in about 30 days. Why would he need to go to court since he's already been denied into the country? Could they detain him when he goes to court?