The way US courts compel speech without actually compelling speech is: They offer you two choices, either you go to prison for a weirdly long time, or you "choose" to do <performative thing that won't really reform you but the judge can use in a campaign ad to say they are tuff on crime>
That's how those weird judges are able to "make" young kids stand on a street corner wearing a "I did a crime" placard.
That's how those weird judges are able to "make" young kids stand on a street corner wearing a "I did a crime" placard.